From: Marco van Wieringen Date: Sun, 27 Dec 2009 10:39:32 +0000 (+0100) Subject: Fix problem with freeing the data after we switched to use an alist some months ago. X-Git-Tag: Release-5.0.0~116 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=06ee78ce09f60a6558daae087d1fc03c67f09eba;p=bacula%2Fbacula 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. --- 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;