From cc8f157ff4c26fbc0bd20b6c826aaf594c4ec042 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Sun, 27 Dec 2009 11:39:32 +0100 Subject: [PATCH] Fix problem with freeing the data after we switched to use an alist some months ago. Again great to have regression testing as that shows these rather obvious errors. --- bacula/src/filed/xattr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index 24c75c5e2b..6227fd3b84 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -145,6 +145,8 @@ static void xattr_drop_internal_table(alist *xattr_value_list) if (current_xattr->value_length > 0) free(current_xattr->value); + + free(current_xattr); } delete xattr_value_list; -- 2.39.5