1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/source4/libnet
Andrew Walker c2fcd83ed7 s4:libnet:py_net - free event context in dealloc fn
Creation of a new Net() object initializes an event context under
a NULL talloc context and then creates a new talloc context as a
child of the event context. The deallocation function for the
net object only frees the child and not the parent. This leaks an
fd for the tevent context and associated memory.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Nov  6 04:58:31 UTC 2020 on sn-devel-184
2020-11-06 04:58:31 +00:00
..
composite.h
groupinfo.c
groupinfo.h
groupman.c
groupman.h
libnet_become_dc.c libnet: Initialize req_level in become_dc tests 2017-07-28 00:25:15 +02:00
libnet_become_dc.h
libnet_domain.c Fix spelling mistakes 2018-11-30 03:35:13 +01:00
libnet_domain.h
libnet_export_keytab.c
libnet_export_keytab.h
libnet_group.c
libnet_group.h
libnet_join.c libnet4: Use dom_sid_str_buf 2019-01-08 03:40:28 +01:00
libnet_join.h
libnet_lookup.c Replace NT_STATUS_HAVE_NO_MEMORY macro 2018-03-03 00:00:34 +01:00
libnet_lookup.h
libnet_passwd.c smbdes: convert E_old_pw_hash to use gnutls 2019-12-10 00:30:31 +00:00
libnet_passwd.h
libnet_rpc.c
libnet_rpc.h
libnet_samsync.h libnet: Remove unused source4/libnet/libnet_sam{dump,sync}: 2019-05-06 07:11:51 +00:00
libnet_share.c
libnet_share.h
libnet_site.c
libnet_site.h
libnet_time.c
libnet_time.h
libnet_unbecome_dc.c
libnet_unbecome_dc.h
libnet_user.c
libnet_user.h
libnet_vampire.c s4/libnet: Fix joining a Windows pre-2008R2 DC 2019-07-04 22:49:23 +00:00
libnet_vampire.h
libnet.c talloc_zero libnet_context on init 2018-02-01 00:33:34 +01:00
libnet.h
prereq_domain.c
py_net_dckeytab.c s4: squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
py_net.c s4:libnet:py_net - free event context in dealloc fn 2020-11-06 04:58:31 +00:00
py_net.h
userinfo.c
userinfo.h
userman.c
userman.h
wscript_build lib/crypto: move gnutls error wrapper to own subsystem 2019-06-27 12:54:22 +00:00