git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d42e718
)
Free ACL/xattr info in try_dests_reg() loop.
author
Wayne Davison
<wayned@samba.org>
Sat, 19 Jan 2013 18:20:49 +0000
(10:20 -0800)
committer
Wayne Davison
<wayned@samba.org>
Sat, 19 Jan 2013 18:25:18 +0000
(10:25 -0800)
generator.c
patch
|
blob
|
history
diff --git
a/generator.c
b/generator.c
index b89c14598955382596dd465c3c572caf8d820245..25435af722d80170bd6aec39f3552a04a685c26d 100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-873,8
+873,10
@@
static int try_dests_reg(struct file_struct *file, char *fname, int ndx,
match_level = 2;
/* FALL THROUGH */
case 2:
- if (!unchanged_attrs(cmpbuf, file, sxp))
+ if (!unchanged_attrs(cmpbuf, file, sxp)) {
+ free_stat_x(sxp);
continue;
+ }
best_match = j;
match_level = 3;
break;