]> git.sur5r.net Git - bacula/bacula/commitdiff
Reset the variable after freeing it so we don't free it again in the bail_out target.
authorMarco van Wieringen <mvw@planets.elm.net>
Sun, 11 Oct 2009 18:23:32 +0000 (20:23 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Sun, 11 Oct 2009 18:23:32 +0000 (20:23 +0200)
bacula/src/filed/xattr.c

index 0353053b1bfc579ac86589977b3b91f917fa82bb..873c16feb35e960ba7b6c7583d431b93c951a8c9 100644 (file)
@@ -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;
       }
 
       /*