diff options
Diffstat (limited to 'source4/libcli')
-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")); } |