[GRASS-SVN] r46310 - grass/branches/releasebranch_6_4/vector/v.db.connect

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 15 10:04:50 EDT 2011


Author: mmetz
Date: 2011-05-15 07:04:50 -0700 (Sun, 15 May 2011)
New Revision: 46310

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

Modified: grass/branches/releasebranch_6_4/vector/v.db.connect/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.db.connect/main.c	2011-05-15 14:03:37 UTC (rev 46309)
+++ grass/branches/releasebranch_6_4/vector/v.db.connect/main.c	2011-05-15 14:04:50 UTC (rev 46310)
@@ -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