[GRASS-dev] Vect_set_release_support()

Hi all,
I have a small problem with: "Vect_set_release_support()".
I use this function just for releasing memory like this:

Vect_build (--);
Vect_save_topo (--);
Vect_set_release_support(--);
Vect_close (--);

exit(EXIT_SUCCESS);

But, when I call my command from the graphical interface, the interface disappears when the function is called and the vector is not saved.
On the other hand, if I call it from the command line, there is no problem.
Can somebody help me?

Thanks,
Roberto.

--
Roberto Antolin Sanchez
Politecnico di Milano – Polo Regionale di Como
Via Valleggio, 11 – 22100 Como, Italy
tel: +39 031 3327533
email: roberto.antolin@polimi.it