mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
Merge branch 'jk/snprintf-cleanups'
Hotfix for a topic that is already in 'master'. * jk/snprintf-cleanups: replace: plug a memory leak
This commit is contained in:
commit
a507115e29
|
@ -120,6 +120,7 @@ static int for_each_replace_name(const char **argv, each_replace_name_fn fn)
|
|||
if (fn(full_hex, ref.buf, &oid))
|
||||
had_error = 1;
|
||||
}
|
||||
strbuf_release(&ref);
|
||||
return had_error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue