Skip to content

Commit

Permalink
Fixed segfault when specified invalid field type to memory provider's…
Browse files Browse the repository at this point in the history
… addAttributes()

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8738 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jul 8, 2008
1 parent dbbbaaf commit a69e63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/memory/memoryprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ bool QgsMemoryProvider::addAttributes(const QgsNewAttributesMap & attributes)
type = QVariant::String;
else
{
QgsDebugMsg("Field type not supported: "+type);
QgsDebugMsg("Field type not supported: "+typeName);
continue;
}

Expand Down

0 comments on commit a69e63c

Please sign in to comment.