Commit Diff


commit - f1f0a7dc342e513a050fee6988a9de61769a26a1
commit + e5eb6d2d0fae51188a4650e49d0ad3866d3f3fb5
blob - dbbaf92a90b365370c465e5011b8410a7a8d6c18
blob + a8635df0a7f0dd6ef557f5328f6569374410b361
--- tog/tog.c
+++ tog/tog.c
@@ -5355,11 +5355,6 @@ done:
 	free(logmsg);
 	free(refs_str);
 	got_object_commit_close(commit);
-	if (err) {
-		free(*lines);
-		*lines = NULL;
-		*nlines = 0;
-	}
 	return err;
 }