diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-04-23 12:52:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-23 12:52:18 -0700 |
commit | 58bbace89d3e94a20faae4df0d20d57574dff6e1 (patch) | |
tree | 13bcbe5346a4b4672b85ca5be1787a5ad8cac2b3 /t/t4013/diff.diff-tree_--pretty=oneline_--patch-with-stat_initial | |
parent | Merge branch 'sl/test-wc-l-line-count' (diff) | |
parent | apply: document buffer ownership rules across functions (diff) | |
download | tgif-58bbace89d3e94a20faae4df0d20d57574dff6e1.tar.xz |
Merge branch 'jh/apply-free-patch'
Valgrind reports quite a lot of discarded memory inside apply.
Fix them, audit and document the buffer ownership rules.
By Junio C Hamano (8) and Jared Hance (1)
* jh/apply-free-patch:
apply: document buffer ownership rules across functions
apply: tighten constness of line buffer
apply: drop unused macro
apply: free unused fragments for submodule patch
apply: free patch->result
apply: release memory for fn_table
apply: free patch->{def,old,new}_name fields
apply: rename free_patch() to free_patch_list()
apply: do not leak patches and fragments
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty=oneline_--patch-with-stat_initial')
0 files changed, 0 insertions, 0 deletions