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
This commit is contained in:
wonder 2008-07-08 14:10:32 +00:00
parent dbbbaaf291
commit a69e63cfd4

View File

@ -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;
}