diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-16 17:59:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:52 -0500 |
commit | e13715774c6a656b6f7952a5ae11c49390089b31 (patch) | |
tree | e23f432acb6e7bcb3f91461845bd8299d6449b47 /source4 | |
parent | 3d6cdc9e97d13052c3e15d72a6e550e9c10319a1 (diff) | |
download | samba-e13715774c6a656b6f7952a5ae11c49390089b31.tar.gz samba-e13715774c6a656b6f7952a5ae11c49390089b31.tar.bz2 samba-e13715774c6a656b6f7952a5ae11c49390089b31.zip |
r18587: fixed a potential memory leak in libnet
(This used to be commit 935f6f34cfbec0cba6df246b7ef9fdfd604aad38)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/libnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet.c b/source4/libnet/libnet.c index 6626e94b6f..2d55905b37 100644 --- a/source4/libnet/libnet.c +++ b/source4/libnet/libnet.c @@ -27,7 +27,7 @@ struct libnet_context *libnet_context_init(struct event_context *ev) struct libnet_context *ctx; /* create brand new libnet context */ - ctx = talloc(NULL, struct libnet_context); + ctx = talloc(ev, struct libnet_context); if (!ctx) { return NULL; } |