Thread (1 message) 1 message, 1 author, 2016-09-01

Re: [PATCH v12 0/8] submodule inline diff format

From: Junio C Hamano <hidden>
Date: 2016-09-01 01:08:49

Jacob Keller [off-list ref] writes:
quoted hunk
@@ -523,8 +523,10 @@ char *git_pathdup_submodule(const char *path, const char *fmt, ...)
 	va_start(args, fmt);
 	err = do_submodule_path(&buf, path, fmt, args);
 	va_end(args);
-	if (err)
+	if (err) {
+		strbuf_release(&buf);
 		return NULL;
+	}
 	return strbuf_detach(&buf, NULL);
 }
Thanks.  My copy was lacking this hunk.  Will replace.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help