diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2011-10-06 18:14:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-07 15:46:13 -0700 |
commit | 2b5f07f16c9e554482ed4a2355a051feabd62848 (patch) | |
tree | da99a54b6d9e3988ff422a6e7f677c88be3aaa23 /diffcore-order.c | |
parent | pickaxe: plug diff filespec leak with empty needle (diff) | |
download | tgif-2b5f07f16c9e554482ed4a2355a051feabd62848.tar.xz |
pickaxe: plug regex leak
With -G... --pickaxe-all, free the regex before returning even if we
found a match. Also get rid of the variable has_changes, as we can
simply break out of the loop.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-order.c')
0 files changed, 0 insertions, 0 deletions