You should only delete things you got from new; free should only be used with malloc. Since this is C++, I would suspect you are using new and delete.

Before you delete your object though, you...