[GRASS-SVN] r56290 - grass/trunk/misc/m.nviz.image
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 18 01:55:22 PDT 2013
Author: martinl
Date: 2013-05-18 01:55:22 -0700 (Sat, 18 May 2013)
New Revision: 56290
Modified:
grass/trunk/misc/m.nviz.image/vector.c
Log:
m.nviz.image: close vector map
Modified: grass/trunk/misc/m.nviz.image/vector.c
===================================================================
--- grass/trunk/misc/m.nviz.image/vector.c 2013-05-18 08:52:28 UTC (rev 56289)
+++ grass/trunk/misc/m.nviz.image/vector.c 2013-05-18 08:55:22 UTC (rev 56290)
@@ -298,13 +298,14 @@
if (db_column_Ctype(driver, Fi->table, marker->answers[i]) != DB_C_TYPE_STRING)
G_fatal_error(_("Data type of marker column must be character"));
}
-
+
+ G_remove_error_handler(error_handler_db, driver);
db_close_database_shutdown_driver(driver);
- G_remove_error_handler(error_handler_db, driver);
}
G_remove_error_handler(error_handler_vector, &Map);
-
+ Vect_close(&Map);
+
if (Fi)
return Fi->number;
More information about the grass-commit
mailing list