mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-08 17:14:45 +00:00
examples: fix an oopsie
This commit is contained in:
parent
fb49bdf9c7
commit
41178b419a
@ -35,6 +35,7 @@ int run_command(git_cb fn, int argc, char **argv)
|
||||
fprintf(stderr, "Error without message");
|
||||
else
|
||||
fprintf(stderr, "Bad news:\n %s\n", giterr_last()->message);
|
||||
}
|
||||
|
||||
if(repo)
|
||||
git_repository_free(repo);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user