Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix valgrind freed memory access warning in wfs provider test
(cherry-picked from 8bd0e7e)
  • Loading branch information
nyalldawson committed Jul 17, 2018
1 parent 1644d98 commit a6cd87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/spatialite/qgsspatialiteconnection.cpp
Expand Up @@ -756,7 +756,7 @@ void QgsSqliteHandle::closeDb( QgsSqliteHandle *&handle )
if ( --i.value()->ref == 0 )
{
delete i.value();
sHandles.remove( i.key() );
i = sHandles.erase( i );
}
}

Expand Down

0 comments on commit a6cd87d

Please sign in to comment.