[GRASS-SVN] r46309 - grass/branches/develbranch_6/vector/v.db.connect

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 15 10:03:37 EDT 2011


Author: mmetz
Date: 2011-05-15 07:03:37 -0700 (Sun, 15 May 2011)
New Revision: 46309

Modified:
   grass/branches/develbranch_6/vector/v.db.connect/main.c
Log:
close vector (backport r46308)

Modified: grass/branches/develbranch_6/vector/v.db.connect/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.db.connect/main.c	2011-05-15 12:54:46 UTC (rev 46308)
+++ grass/branches/develbranch_6/vector/v.db.connect/main.c	2011-05-15 14:03:37 UTC (rev 46309)
@@ -160,6 +160,7 @@
 	    /* it is ok if a vector map is not connected o an attribute table */
 	    G_message(_("Database connection for map <%s> is not defined in DB file"),
 			  input);
+	    Vect_close(&Map);
 	    exit(EXIT_SUCCESS);
 	}
 	else {			/* num_dblinks > 0 */



More information about the grass-commit mailing list