]> git.ipfire.org Git - thirdparty/git.git/commit
checkout: fix memory leak
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 4 May 2017 13:56:40 +0000 (15:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 03:18:19 +0000 (12:18 +0900)
commit514e8039444565f7806e065579090167db5e489c
treed932046ce619864b3b83601fab0e28a6a2d2a3f1
parent05c2b7ba49e36a6beff30204948dba79451c4233
checkout: fix memory leak

This change addresses part of the NEEDSWORK comment above the code,
therefore the comment needs to be adjusted, too.

Discovered via Coverity.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c