Merge branch 'sb/plug-leaks'
* sb/plug-leaks: clone.c: don't leak memory in cmd_clone remote.c: don't leak the base branch name in format_tracking_info
This commit is contained in:
@ -1004,5 +1004,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
|
||||
strbuf_release(&key);
|
||||
strbuf_release(&value);
|
||||
junk_mode = JUNK_LEAVE_ALL;
|
||||
|
||||
free(refspec);
|
||||
return err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user