Correctly free temporal model pointer
Use malloc/free for dynamic memory management of m_fitsfile void pointer.

The C++ functions new and delete cannot be used properly for this purpose as they only handle non-void types.