mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-10 14:36:06 +00:00
build
This commit is contained in:
@@ -825,6 +825,7 @@ $$
|
||||
// 使用结果数组 res 覆盖原数组 nums
|
||||
memcpy(nums, res, size * sizeof(int));
|
||||
// 5. 释放内存
|
||||
free(res);
|
||||
free(counter);
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user