[GRASS-SVN] r48555 -
grass/branches/releasebranch_6_4/vector/v.db.select
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 29 07:13:11 EDT 2011
Author: mmetz
Date: 2011-09-29 04:13:11 -0700 (Thu, 29 Sep 2011)
New Revision: 48555
Modified:
grass/branches/releasebranch_6_4/vector/v.db.select/main.c
Log:
close cursor before database and driver
Modified: grass/branches/releasebranch_6_4/vector/v.db.select/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.db.select/main.c 2011-09-29 11:10:58 UTC (rev 48554)
+++ grass/branches/releasebranch_6_4/vector/v.db.select/main.c 2011-09-29 11:13:11 UTC (rev 48555)
@@ -286,6 +286,7 @@
G_fatal_error(_("Unable to open database <%s> by driver <%s>"),
Fi->database, Fi->driver);
+ db_close_cursor(&cursor);
db_close_database_shutdown_driver(driver);
Vect_close(&Map);
More information about the grass-commit
mailing list