git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71214 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -309,6 +309,7 @@ int main(int argc, char *argv[])
/* write centroid attributes and close the map*/
if (fd_centroids) {
db_commit_transaction(driver);
+ Vect_build(fd_centroids);
Vect_close(fd_centroids);
}