소스 검색

close vector

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46308 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 년 전
부모
커밋
6e2a866c9c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      vector/v.db.connect/main.c

+ 1 - 0
vector/v.db.connect/main.c

@@ -164,6 +164,7 @@ int main(int argc, char **argv)
 	    /* it is ok if a vector map is not connected o an attribute table */
 	    G_message(_("Map <%s> is not connected to a database"),
 			  input);
+	    Vect_close(&Map);
 	    exit(EXIT_SUCCESS);
 	}
 	else {			/* num_dblinks > 0 */