Skip to content

Commit e5a8749

Browse files
committed
Initialize expression field buffer to NULL
Prevents crash, see #1494 (comment)
1 parent d0e9d8d commit e5a8749

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/qgsvectorlayer.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ QgsVectorLayer::QgsVectorLayer( QString vectorLayerPath,
137137
, mCache( new QgsGeometryCache() )
138138
, mEditBuffer( 0 )
139139
, mJoinBuffer( 0 )
140+
, mExpressionFieldBuffer( 0 )
140141
, mDiagramRenderer( 0 )
141142
, mDiagramLayerSettings( 0 )
142143
, mValidExtent( false )

0 commit comments

Comments
 (0)