Fix commit dialog crash when using libgit2 to commit
commit02f48df4279bc0b5a54566a9780588bf96a5f2b1
authorSup Yut Sum <ch3cooli@gmail.com>
Tue, 26 Feb 2013 11:21:17 +0000 (26 19:21 +0800)
committerSup Yut Sum <ch3cooli@gmail.com>
Tue, 26 Feb 2013 11:28:31 +0000 (26 19:28 +0800)
treef8ebc62bc4554135147e4d25424ac61933229796
parent76c28c11006d85f275adcaf5fcde4534b13eb487
Fix commit dialog crash when using libgit2 to commit

After associating config with repository, do not call git_config_free() after calling git_repository_free()

git_repository_free() calls git_config_free() internally

Fix regression of 9673785ccf300f424ac3ddd04cf8508eb93ce696

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
src/TortoiseProc/CommitDlg.cpp