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:
parent
26cf849408
commit
13bda1152d
@ -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"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user