diff --git a/slcp.c b/slcp.c index 6389ce9..a31f9a2 100644 --- a/slcp.c +++ b/slcp.c @@ -109,7 +109,7 @@ int main(int argc, char* argv[]) { git_repo = NULL; } - git_buf_free(&tmpgitdb); + git_buf_dispose(&tmpgitdb); /* prepare some git information */ if (git_repo) {