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
  • Loading branch information
nyalldawson committed Jul 16, 2018
1 parent c910187 commit 8bd0e7e
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 8bd0e7e

Please sign in to comment.