deletePost + all memory leaks.