mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Be sure to clean up remote pointer
This commit is contained in:
parent
949021dc35
commit
da19b87cb1
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user