Remove the init method and move its content to the constructor.

Using the init method outside of the constructor will lead to a memory
leak, because the 2 pointers will not be deleted.

As the method is not required, I dropped it.
you're in a destructor.. you shouldn't have to bother with this. And indeed, if you do bother with it, then set those pointers to NULL.