diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2011-10-06 18:23:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-07 15:46:13 -0700 |
commit | 8e854b00d86070dd463a91bdbc401fb25dc9ddb5 (patch) | |
tree | 66ed8f16c98fae281afebc77c05e3f6f148c8e28 /daemon.c | |
parent | pickaxe: plug regex leak (diff) | |
download | tgif-8e854b00d86070dd463a91bdbc401fb25dc9ddb5.tar.xz |
pickaxe: plug regex/kws leak
With -S... --pickaxe-all, free the regex or the kws 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 'daemon.c')
0 files changed, 0 insertions, 0 deletions