Merge branch 'jc/exec-cmd-system-path-leak-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:27:01 +0000 (12:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:27:01 +0000 (12:27 -0800)
commit6bcaff1a4fe4a3088348e706c149941c74d1ad61
treea03cc8a4a3b8fa2cdf06bdbed93ee8a1aac2692d
parent5109f2aaabcd7ce2c493bb663417c2dd4d5b81fe
parent59362e560d3c439e77768983b00eade08be9bc3e
Merge branch 'jc/exec-cmd-system-path-leak-fix'

The function sometimes returned a non-freeable memory and some
other times returned a piece of memory that must be freed.

* jc/exec-cmd-system-path-leak-fix:
  system_path(): always return free'able memory to the caller
builtin/help.c
builtin/init-db.c
exec_cmd.c