Skip to content

Commit

Permalink
Initialize expression field buffer to NULL
Browse files Browse the repository at this point in the history
Prevents crash, see
#1494 (comment)
  • Loading branch information
m-kuhn committed Jul 28, 2014
1 parent d0e9d8d commit e5a8749
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsvectorlayer.cpp
Expand Up @@ -137,6 +137,7 @@ QgsVectorLayer::QgsVectorLayer( QString vectorLayerPath,
, mCache( new QgsGeometryCache() )
, mEditBuffer( 0 )
, mJoinBuffer( 0 )
, mExpressionFieldBuffer( 0 )
, mDiagramRenderer( 0 )
, mDiagramLayerSettings( 0 )
, mValidExtent( false )
Expand Down

0 comments on commit e5a8749

Please sign in to comment.