From 7639684f273e33e2b7f26660b3ec9d3f9979c5a7 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 14 Jun 2011 09:09:07 +0200 Subject: s3-utils: fix crash in net cache get free the blob correctly Autobuild-User: Christian Ambach Autobuild-Date: Tue Jun 14 12:01:59 CEST 2011 on sn-devel-104 --- source3/utils/net_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit