free() only AFTER use!
free() only AFTER use!

It is a good habit to use
X = NULL;
after each
free(X);
or
GDKfree(X);
;-)

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb