We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2cef68f + 372b050 commit a507115Copy full SHA for a507115
1 file changed
builtin/replace.c
@@ -120,6 +120,7 @@ static int for_each_replace_name(const char **argv, each_replace_name_fn fn)
120
if (fn(full_hex, ref.buf, &oid))
121
had_error = 1;
122
}
123
+ strbuf_release(&ref);
124
return had_error;
125
126
0 commit comments