From: Günther Deschner Date: Tue, 4 Mar 2008 10:07:13 +0000 (+0100) Subject: Use TALLOC_FREE in libnetjoin debugging dump code. X-Git-Tag: samba-3.3.0pre1~3436^2~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b753087ff79c1d35a409eddc1f61e115e887c1e1;p=thirdparty%2Fsamba.git Use TALLOC_FREE in libnetjoin debugging dump code. Guenther --- diff --git a/source/libnet/libnet_join.c b/source/libnet/libnet_join.c index 866d1c06e14..4f9e4c1c864 100644 --- a/source/libnet/libnet_join.c +++ b/source/libnet/libnet_join.c @@ -29,7 +29,7 @@ char *str = NULL; \ str = NDR_PRINT_FUNCTION_STRING(ctx, libnet_JoinCtx, f, r); \ DEBUG(1,("libnet_Join:\n%s", str)); \ - talloc_free(str); \ + TALLOC_FREE(str); \ } while (0) #define LIBNET_JOIN_IN_DUMP_CTX(ctx, r) \ @@ -42,7 +42,7 @@ char *str = NULL; \ str = NDR_PRINT_FUNCTION_STRING(ctx, libnet_UnjoinCtx, f, r); \ DEBUG(1,("libnet_Unjoin:\n%s", str)); \ - talloc_free(str); \ + TALLOC_FREE(str); \ } while (0) #define LIBNET_UNJOIN_IN_DUMP_CTX(ctx, r) \