Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs: convert peel_ref to struct object_id
[gitweb.git]
/
builtin
/
diff.c
diff --git
a/builtin/diff.c
b/builtin/diff.c
index 7e3ebcea38f1485f4c7fb5f5af6494ceb81f5cbb..f5bbd4d757e12e6e34a86fac006298acb771909f 100644
(file)
--- a/
builtin/diff.c
+++ b/
builtin/diff.c
@@
-464,5
+464,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;
}