This procedure must be invoked once at the end.

It release the internal structures initialized by GiD_PostInit. Must be called from the main thread of the program.