Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin/: add UNLEAKs
[gitweb.git]
/
builtin
/
diff.c
diff --git
a/builtin/diff.c
b/builtin/diff.c
index 7cde6abbcf7651af8313bd3d70eb1944e72c9cb3..0da526cfdb893dbfeaae774edeb75cd244fb7e6e 100644
(file)
--- a/
builtin/diff.c
+++ b/
builtin/diff.c
@@
-466,5
+466,8
@@
int cmd_diff(int argc, const char **argv, const char *prefix)
result = diff_result_code(&rev.diffopt, result);
if (1 < rev.diffopt.skip_stat_unmatch)
refresh_index_quietly();
+ UNLEAK(rev);
+ UNLEAK(ent);
+ UNLEAK(blob);
return result;
}