Skip to content
Permalink
Browse files

[ogr] Safer layer memory management

Use unique_ptr with custom deleter to ensure that
QgsOgrProviderUtils::release is called
  • Loading branch information
nyalldawson committed Nov 20, 2017
1 parent 163b2e2 commit 6db46f73254bb7da7abf33161993f3f48deb0b1e
Showing with 125 additions and 141 deletions.
  1. +82 −120 src/providers/ogr/qgsogrprovider.cpp
  2. +43 −21 src/providers/ogr/qgsogrprovider.h

0 comments on commit 6db46f7

Please sign in to comment.
You can’t perform that action at this time.