commit - 136e2bd4b6c85e936c03593405dbdfcefb34fb79
commit + 4fa16b393ac52eadd8159d265e31961b11a10a25
blob - 5f060f8735c6ad9bc96ad7421ce6a62402cc7d5c
blob + a47b26a8fcc75a0889cc09cd5b7230842ec0ae6e
--- lib/repository.c
+++ lib/repository.c
&repo->gitconfig_remotes[i]);
}
free(repo->gitconfig_remotes);
+ repo->gitconfig_remotes = NULL;
repo->ngitconfig_remotes = 0;
free(repo->gitconfig_author_name);
repo->gitconfig_author_name = NULL;
free(repo->gitconfig_author_email);
repo->gitconfig_author_email = NULL;
+
+ free(repo->global_gitconfig_author_name);
+ repo->global_gitconfig_author_name = NULL;
+ free(repo->global_gitconfig_author_email);
+ repo->global_gitconfig_author_email = NULL;
}
done: