fix Pointer recycle (#346)

This commit is contained in:
LoneRanger
2023-02-07 01:17:10 +08:00
committed by GitHub
parent ea901af217
commit 7f4243ab77
2 changed files with 2 additions and 0 deletions

View File

@ -331,5 +331,6 @@ class PrintUtil {
cout << "堆的树状表示:" << endl;
TreeNode *root = vecToTree(vec);
printTree(root);
freeMemoryTree(root);
}
};