diff options
author | Jeremy Allison <jra@samba.org> | 2011-01-01 20:23:49 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-01-02 06:11:13 +0100 |
commit | 9d754da1120d21e7e1021ca0366cceedca0ee823 (patch) | |
tree | 58ef135164dc1d62e4abed8697e84b53f7c588b5 | |
parent | 9ccef4e62b72a42b7281e6ad6bc1127ed9504bbb (diff) | |
download | samba-9d754da1120d21e7e1021ca0366cceedca0ee823.tar.gz samba-9d754da1120d21e7e1021ca0366cceedca0ee823.tar.bz2 samba-9d754da1120d21e7e1021ca0366cceedca0ee823.zip |
Fix memory leak I introduced when refactoring unexpected packet code.
Found by Volker.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sun Jan 2 06:11:13 CET 2011 on sn-devel-104
-rw-r--r-- | source3/libsmb/unexpected.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c index 0f4227de16..3934cba13d 100644 --- a/source3/libsmb/unexpected.c +++ b/source3/libsmb/unexpected.c @@ -232,6 +232,7 @@ void clear_unexpected(time_t t) pu_next = pu->next; if (pu->timeout < t) { DLIST_REMOVE(pu_list, pu); + SAFE_FREE(pu); } } |