diff options
author | Petr Viktorin <pviktori@redhat.com> | 2015-03-03 22:29:08 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-03-03 23:20:06 +0100 |
commit | f87e6df34ac05b352c6c74bf1fd1d678ee23217f (patch) | |
tree | ff3b9e75a25d5df20f1c53a98a11d60f5a18840e /python/samba/tests/docs.py | |
parent | 92ff259f409cfeffc24ef9d7db8ab16217367bab (diff) | |
download | samba-f87e6df34ac05b352c6c74bf1fd1d678ee23217f.tar.gz samba-f87e6df34ac05b352c6c74bf1fd1d678ee23217f.tar.xz samba-f87e6df34ac05b352c6c74bf1fd1d678ee23217f.zip |
pyldb: Properly preallocate result control list
The list was always allocated with size 1, so
if there is more than 1 result control, the additional
items would not be added in the list, and would
become leaked references.
Signed-off-by: Petr Viktorin <pviktori@redhat.com>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba/tests/docs.py')
0 files changed, 0 insertions, 0 deletions