Files
git/exec_cmd.c
Johannes Schindelin 52a8d20916 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-11-30 17:41:28 +01:00

3.0 KiB