mirror of
https://github.com/git/git.git
synced 2026-01-26 10:35:18 +00:00
handle_ssh_variant: plug memory leak
The split_cmdline() function either assigns an allocated array to the argv parameter or NULL. In the first case, we have to free() it, in the latter it does no harm. Reported via Coverity. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Reference in New Issue
Block a user