1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r23037: actually fix the asn1 memory leak :-)

metze
This commit is contained in:
Stefan Metzmacher 2007-05-21 13:33:46 +00:00 committed by Gerald (Jerry) Carter
parent 26cf849408
commit 13bda1152d

View File

@ -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"));
}