Files
git/exec_cmd.c
Johannes Schindelin c897c69f99 Avoid Coverity warning about unfree()d git_exec_path()
Technically, it is correct that git_exec_path() returns a possibly
malloc()ed string. Practically, it is *sometimes* not malloc()ed. So
let's just use a static variable to make it a singleton. That'll shut
Coverity up, hopefully.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-12-12 22:31:35 +01:00

3.0 KiB