From 095e9c66559f7c859b6749f7bd7ff3cb50f329d7 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 14 Jun 2011 09:09:07 +0200 Subject: [PATCH] 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 (cherry picked from commit 7639684f273e33e2b7f26660b3ec9d3f9979c5a7) Fix bug #8231 (crash in net cache get). (cherry picked from commit b843d0eb5112e6bd4290100f28639ec3644d6944) --- source3/utils/net_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.4.GIT