git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
931f594
)
r23037: actually fix the asn1 memory leak :-)
author
Stefan Metzmacher
<metze@samba.org>
Mon, 21 May 2007 13:33:46 +0000
(13:33 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:52:43 +0000
(14:52 -0500)
metze
(This used to be commit
13bda1152d3b88c0b93610d4698ce24183334276
)
source4/libcli/util/asn1.c
patch
|
blob
|
history
diff --git
a/source4/libcli/util/asn1.c
b/source4/libcli/util/asn1.c
index 81ce72bed97744ca42cc2ed39c61ab85c13a51de..477887b96a636e74bfa4f84d2aa5877e53f47432 100644
(file)
--- 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"));
}