This repository was archived by the owner on Nov 15, 2024. It is now read-only.
Commit dee839a
committed
format-patch: mark rev_info with UNLEAK
The comand uses a single instance of rev_info on stack, makes a
single revision traversal and exit. Mark the resources held by the
rev_info structure with UNLEAK().
We do not do this at lower level in revision.c or cmd_log_walk(), as
a new caller of the revision traversal API can make unbounded number
of rev_info during a single run, and UNLEAK() would not a be
suitable mechanism to deal with such a caller.
Signed-off-by: Junio C Hamano <[email protected]>1 parent 69a9c10 commit dee839a
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2241 | 2241 | | |
2242 | 2242 | | |
2243 | 2243 | | |
| 2244 | + | |
2244 | 2245 | | |
2245 | 2246 | | |
2246 | 2247 | | |
| |||
0 commit comments