mirror of
https://github.com/krahets/hello-algo.git
synced 2026-09-01 20:57:13 +00:00
Bug fixes to C code.
This commit is contained in:
@@ -54,7 +54,7 @@ int *topKHeap(int *nums, int sizeNums, int k) {
|
||||
}
|
||||
int *res = getMinHeap(maxHeap);
|
||||
// 释放内存
|
||||
freeMaxHeap(maxHeap);
|
||||
delMaxHeap(maxHeap);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user