c笔记 new delete成对使用。 malloc free成对使用。 new申请的内存不能使用free释放。 malloc申请的内存不能使用delete释放。 切记成对出现,不要混着用。 一个指针不要释放多次。