summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/unexpected.c1
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);
}
}