commit e5eb6d2d0fae51188a4650e49d0ad3866d3f3fb5 from: Mark Jamsek date: Thu Aug 15 14:29:52 2024 UTC zap redundant free This pointer is owned by the caller and is freed in error paths via close_diff_view() ok stsp@ 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; }