Do not deconnect HDU FITS pointer in free_members() method as this prevents releasing properly memory in GFitsHDU::free_members(). Now, simply call delete hdu which should lead to a proper release of memory.
Free events container after usage so that no memory leak remains.
Properly allocate and free memory to prevent memory leaks.
Properly free memory after usage to avoid memory leaks.
Prevent memory leak when appending a PI node.
Properly handle internal memory allocation/deallocation for source maps.

The copy_members() method now clones all source maps, instead of copying the pointers. The free_members() method now deletes properly all source maps. Both modifications aim to prevent memory leaks that existed before in this class.
Constructors now also invoke base class constructors.

So far the void and copy constructors did not invoke the base class constructors, leaving the base class members uninitialized or preventing correct copying of base class member information. This bug has now been corrected.
Properly handle internal memory allocation/deallocation of response components.

So far the Aeff, Psf, Edisp and point source lists have been simply assigned, preventing from correct memory deallocation on exit. Now, the copy_members() method properly clones all relevant information, and the free_members() method deallocates all components on exit. This should prevent any memory leaks that existed before.
Properly free memory in copy_members() before cloning information from another class instance.

Before, the allocated memory was lost, leading to a memory leak. This should now be prevented.