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