Be sure to clean up remote pointer

This commit is contained in:
Seth Hillbrand 2025-07-30 16:18:57 -07:00
parent 949021dc35
commit da19b87cb1

View File

@ -1777,6 +1777,8 @@ void PROJECT_TREE_PANE::onGitInitializeProject( wxCommandEvent& aEvent )
fullURL.ToStdString().c_str(),
"+refs/heads/*:refs/remotes/origin/*" );
KIGIT::GitRemotePtr remotePtr( remote );
if( error != GIT_OK )
{
if( m_gitLastError != git_error_last()->klass )