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-7.0.0~2602^2~1^2~4^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b1d8f8395c23e91734b09a313f96b762dce2c6a;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; } /*