From: Marco van Wieringen Date: Thu, 15 Oct 2009 19:18:47 +0000 (+0200) Subject: Use bfree_and_null X-Git-Tag: Release-7.0.0~2602^2~1^2~4^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3ed5cea0abb609891f74cdaa158edf0462dd5d9a;p=bacula%2Fbacula Use bfree_and_null --- diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index 0120c7b379..e4289eb488 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -857,8 +857,7 @@ static bxattr_exit_code bsd_build_xattr_streams(JCR *jcr, FF_PKT *ff_pkt) xattr_value_list->append(current_xattr); xattr_count++; - free(current_attrnamespace); - current_attrnamespace = (char *)NULL; + bfree_and_null(current_attrnamespace); } /*