diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-05-21 13:33:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:43 -0500 |
commit | 774d66c1e69ab17dc3c3c188dafc6b2b005fd562 (patch) | |
tree | 2c1cab1756a411d7b6127f3b1ea005dc58220936 /source4/libcli/util | |
parent | 931f594cf16b8c7f9f416d7a8831432b783a0ec8 (diff) | |
download | samba-774d66c1e69ab17dc3c3c188dafc6b2b005fd562.tar.gz samba-774d66c1e69ab17dc3c3c188dafc6b2b005fd562.tar.bz2 samba-774d66c1e69ab17dc3c3c188dafc6b2b005fd562.zip |
r23037: actually fix the asn1 memory leak :-)
metze
(This used to be commit 13bda1152d3b88c0b93610d4698ce24183334276)
Diffstat (limited to 'source4/libcli/util')
-rw-r--r-- | source4/libcli/util/asn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/asn1.c b/source4/libcli/util/asn1.c index 81ce72bed9..477887b96a 100644 --- a/source4/libcli/util/asn1.c +++ b/source4/libcli/util/asn1.c @@ -24,7 +24,7 @@ /* allocate an asn1 structure */ struct asn1_data *asn1_init(TALLOC_CTX *mem_ctx) { - struct asn1_data *ret = talloc_zero(NULL, struct asn1_data); + struct asn1_data *ret = talloc_zero(mem_ctx, struct asn1_data); if (ret == NULL) { DEBUG(0,("asn1_init failed! out of memory\n")); } |