Commit Diff


commit - 684a9a6c2461ac3b30d1f0445ec45c94add21931
commit + a5d6823449b7d974ef01516c247fd832002e7e03
blob - d0f6b68a23b13b9ec9d5271bb00d093a979e05cb
blob + df1f3379885ed0173607adc092058e4cb93307d3
--- libexec/got-read-patch/got-read-patch.c
+++ libexec/got-read-patch/got-read-patch.c
@@ -151,6 +151,8 @@ binaryfilename(const char *at, char **name)
 {
 	const char *suffix = " and /dev/null differ\n";
 	size_t len, d;
+
+	*name = NULL;
 
 	len = strlen(at);
 	if (len <= strlen(suffix))