commit 75c3234010be6c6e1e48ed26894773b5f3c91808 from: Stefan Sperling date: Mon Jul 23 16:14:52 2018 UTC free the correct commit id in 'tog blame' commit - c2f16475fd622a4c9490402b7918f9991c407aa1 commit + 75c3234010be6c6e1e48ed26894773b5f3c91808 blob - d84bf2d52afb7651dc297c34a9614a0f7c90e71f blob + db7cd78480ab95d45d3163ddb9490ff30a3d886f --- tog/tog.c +++ tog/tog.c @@ -1448,7 +1448,6 @@ struct tog_blame { struct tog_blame_thread_args thread_args; struct tog_blame_cb_args cb_args; const char *path; - struct got_object_id *commit_id; }; static const struct got_error * @@ -1476,8 +1475,8 @@ stop_blame(struct tog_blame *blame) free(blame->lines[i].id); free(blame->lines); blame->lines = NULL; - free(blame->commit_id); - blame->commit_id = NULL; + free(blame->cb_args.commit_id); + blame->cb_args.commit_id = NULL; return err; }