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-7.0.0~2433 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cc8f157ff4c26fbc0bd20b6c826aaf594c4ec042;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;