Use TALLOC_FREE in libnetjoin debugging dump code.
authorGünther Deschner <gd@samba.org>
Tue, 4 Mar 2008 10:07:13 +0000 (11:07 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 4 Mar 2008 10:07:13 +0000 (11:07 +0100)
Guenther

source/libnet/libnet_join.c

index 866d1c06e1431937522641e9ea6cdbd1ecf0a7a3..4f9e4c1c8643356cee9c7e65990871022211180d 100644 (file)
@@ -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) \