summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2011-06-14 09:09:07 +0200
committerChristian Ambach <ambi@samba.org>2011-06-14 12:01:59 +0200
commit7639684f273e33e2b7f26660b3ec9d3f9979c5a7 (patch)
tree1a3e89badfcaef3f0bd60567df80eacec96ca97f /source3
parentd575b2b0aba0aeaf73d82e2ed58150110db4025b (diff)
downloadsamba-7639684f273e33e2b7f26660b3ec9d3f9979c5a7.tar.gz
samba-7639684f273e33e2b7f26660b3ec9d3f9979c5a7.tar.bz2
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')
-rw-r--r--source3/utils/net_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_cache.c b/source3/utils/net_cache.c
index 88aff4e16e..afcb7a1874 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;
}