Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/line-log-plug-pairdiff-leak'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 6 May 2015 04:00:25 +0000
(21:00 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 May 2015 04:00:25 +0000
(21:00 -0700)
* sb/line-log-plug-pairdiff-leak:
line-log.c: fix a memleak
line-log.c
patch
|
blob
|
history
raw
(from parent 1:
03761c9
)
diff --git
a/line-log.c
b/line-log.c
index a490efea07519edb006e515c8a0fdf60241e546d..b43ac5869857903bd105546d9cf07fb2b2451d31 100644
(file)
--- a/
line-log.c
+++ b/
line-log.c
@@
-1099,6
+1099,7
@@
static int process_all_files(struct line_log_data **range_out,
rg->pair = diff_filepair_dup(queue->queue[i]);
memcpy(&rg->diff, pairdiff, sizeof(struct diff_ranges));
}
+ free(pairdiff);
}
return changed;