commit 36ce9a3b89600065d961a96efa17f51c331043be from: Mark Jamsek via: Thomas Adam date: Thu Aug 15 17:24:03 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 - 95767463b683bcf751069a3b8b01342bc9d06575 commit + 36ce9a3b89600065d961a96efa17f51c331043be blob - 5bd709ec2e556deceee65c5e7cfca07ea247bd72 blob + 0f56f886631ecd1dfdabbe67cf92f044e0cc49c4 --- tog/tog.c +++ tog/tog.c @@ -5359,11 +5359,6 @@ done: free(logmsg); free(refs_str); got_object_commit_close(commit); - if (err) { - free(*lines); - *lines = NULL; - *nlines = 0; - } return err; }