diff options
author | Christian Ambach <ambi@samba.org> | 2011-06-14 09:09:07 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2011-06-14 12:01:59 +0200 |
commit | 7639684f273e33e2b7f26660b3ec9d3f9979c5a7 (patch) | |
tree | 1a3e89badfcaef3f0bd60567df80eacec96ca97f /source3/utils/net_cache.c | |
parent | d575b2b0aba0aeaf73d82e2ed58150110db4025b (diff) | |
download | samba-7639684f273e33e2b7f26660b3ec9d3f9979c5a7.tar.gz samba-7639684f273e33e2b7f26660b3ec9d3f9979c5a7.tar.xz samba-7639684f273e33e2b7f26660b3ec9d3f9979c5a7.zip |
s3-utils: fix crash in net cache get
free the blob correctly
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Tue Jun 14 12:01:59 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/utils/net_cache.c')
-rw-r--r-- | source3/utils/net_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_cache.c b/source3/utils/net_cache.c index 88aff4e16ec..afcb7a1874f 100644 --- a/source3/utils/net_cache.c +++ b/source3/utils/net_cache.c @@ -244,7 +244,7 @@ static int net_cache_get(struct net_context *c, int argc, const char **argv) if (gencache_get_data_blob(keystr, &value, &timeout, NULL)) { print_cache_entry(keystr, value, timeout, NULL); - SAFE_FREE(value.data); + data_blob_free(&value); return 0; } |