commit 9220560796736289a894b8ec9fd5af7ebfb44f1d from: Stefan Sperling date: Fri Jan 04 16:43:04 2019 UTC plug leaks in error path of tog blame commit - d188b9a6a4bf15b68454c779d7bdfe1d76c8e90e commit + 9220560796736289a894b8ec9fd5af7ebfb44f1d blob - 0d1a9578607f40f7f624bbe3e4ff2c0eac11597f blob + b84f94f06503e6d5b35b471cf82f9a072506cb51 --- tog/tog.c +++ tog/tog.c @@ -2853,7 +2853,7 @@ cmd_blame(int argc, char *argv[]) error = got_repo_open(&repo, repo_path); if (error != NULL) - return error; + goto done; error = got_repo_map_path(&in_repo_path, repo, path, 1); if (error != NULL)