[gmx-developers] output_env_t initialization and deallocation

Edoardo Morandi dodomorandi at hotmail.it
Fri Nov 5 11:37:03 CET 2010


Hi,
I'm working on a small program, and I'm interfacing with GROMACS APIs. I
noticed a strange thing about the new output_env_t type: in version 4.5.2
output_env_init in gmxlib/oenv.c doesn't allocate anything in heap for the
passed oenv, but output_env_done will try to free the variable. Maybe it
could be more developer-friendly to leave allocation and deallocation to
external procedures either to the APIs...

However, thanks for your great support developing this great software!
Have a good job!
Edoardo Morandi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20101105/6d99cc68/attachment.html>


More information about the gromacs.org_gmx-developers mailing list