From: Marco van Wieringen Date: Sun, 11 Oct 2009 18:23:32 +0000 (+0200) Subject: Reset the variable after freeing it so we don't free it again in the bail_out target. X-Git-Tag: Release-5.0.0~285^2~1^2~4^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7e5f425375cb92ad4d6295c9b180536d3c739eb1;p=bacula%2Fbacula Reset the variable after freeing it so we don't free it again in the bail_out target. --- diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index 0353053b1b..873c16feb3 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -857,6 +857,7 @@ static bxattr_exit_code bsd_build_xattr_streams(JCR *jcr, FF_PKT *ff_pkt) xattr_count++; free(current_attrnamespace); + current_attrnamespace = (char *)NULL; } /*