Skip to content

Commit a69e63c

Browse files
author
wonder
committed
Fixed segfault when specified invalid field type to memory provider's addAttributes()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8738 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent dbbbaaf commit a69e63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/memory/memoryprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ bool QgsMemoryProvider::addAttributes(const QgsNewAttributesMap & attributes)
284284
type = QVariant::String;
285285
else
286286
{
287-
QgsDebugMsg("Field type not supported: "+type);
287+
QgsDebugMsg("Field type not supported: "+typeName);
288288
continue;
289289
}
290290

0 commit comments

Comments
 (0)