Delete pointer and content, possible memory leak