From: Wayne Davison Date: Fri, 14 Aug 2009 14:04:24 +0000 (-0700) Subject: Fix a bogus free in uncache_tmp_xattrs(). X-Git-Tag: v3.0.7pre1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2daed024b17a2cafb956e12581c25119d07a5950;p=thirdparty%2Frsync.git Fix a bogus free in uncache_tmp_xattrs(). --- diff --git a/xattrs.c b/xattrs.c index 63b118a7..1f3dcb36 100644 --- a/xattrs.c +++ b/xattrs.c @@ -751,7 +751,7 @@ void uncache_tmp_xattrs(void) rsync_xal_l.count = prior_xattr_count; while (xattr_item-- > xattr_start) { rsync_xal_free(xattr_item); - free(xattr_item); + free(xattr_item->items); } prior_xattr_count = (size_t)-1; }