Commit e28f764
unpack-trees: plug a memory leak
Before overwriting the destination index, first let's discard its
contents.
Signed-off-by: Felipe Contreras <[email protected]>
Tested-by: Лежанкин Иван <[email protected]> wrote:
Reviewed-by: René Scharfe <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 425df88 commit e28f764
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1154 | 1154 | | |
1155 | 1155 | | |
1156 | 1156 | | |
1157 | | - | |
| 1157 | + | |
| 1158 | + | |
1158 | 1159 | | |
| 1160 | + | |
1159 | 1161 | | |
1160 | 1162 | | |
1161 | 1163 | | |
| |||
0 commit comments