examples: fix an oopsie

This commit is contained in:
Carlos Martín Nieto 2012-05-11 21:49:33 +02:00
parent fb49bdf9c7
commit 41178b419a

View File

@ -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);