Commit Diff
--- 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; }
--- 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; }