diff options
author | Simon Rettberg | 2014-03-17 19:23:02 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-03-17 19:23:02 +0100 |
commit | 718b4b629a7c9358de77860f76c10013349c8b3c (patch) | |
tree | 99ce862005839fca80ec59c24922bb2ec719be69 | |
parent | More progress.. Warning: Contains very ugly temporary hack for uidNumber<->ob... (diff) | |
download | ldadp-718b4b629a7c9358de77860f76c10013349c8b3c.tar.gz ldadp-718b4b629a7c9358de77860f76c10013349c8b3c.tar.xz ldadp-718b4b629a7c9358de77860f76c10013349c8b3c.zip |
Fix double free in scan_ldapsearchfilter
-rw-r--r-- | scan_ldapsearchfilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scan_ldapsearchfilter.c b/scan_ldapsearchfilter.c index a6016fa..0ee2398 100644 --- a/scan_ldapsearchfilter.c +++ b/scan_ldapsearchfilter.c @@ -109,5 +109,6 @@ size_t scan_ldapsearchfilter(const char* src,const char* max,struct Filter** f) return res; error: free_ldapsearchfilter(*f); + *f=0; return 0; } |