diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-12-04 17:45:38 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-12-04 17:49:19 +1100 |
commit | ced3eef776dd44d0f3e9219f77e2660f9e49fa92 (patch) | |
tree | 727b3afc5c6d8ed6037ffd51532e06dfd214ea96 /source3/lib/netapi/examples/common.c | |
parent | 4f6d5d0b865a077185e2441d401709325c3e7304 (diff) | |
download | samba-ced3eef776dd44d0f3e9219f77e2660f9e49fa92.tar.gz samba-ced3eef776dd44d0f3e9219f77e2660f9e49fa92.tar.bz2 samba-ced3eef776dd44d0f3e9219f77e2660f9e49fa92.zip |
s4-drsutil: fixed a memory leak in samdb_search_count
In general functions that don't return any memory should not take a memory context.
Otherwise it is too easy to have a bug like this where memory is leaked
Diffstat (limited to 'source3/lib/netapi/examples/common.c')
0 files changed, 0 insertions, 0 deletions