This commit is contained in:
krahets
2024-11-25 19:12:22 +08:00
parent ff8738ab95
commit 97733f1a7d
13 changed files with 141 additions and 215 deletions
+1
View File
@@ -825,6 +825,7 @@ $$
// 使用结果数组 res 覆盖原数组 nums
memcpy(nums, res, size * sizeof(int));
// 5. 释放内存
free(res);
free(counter);
}
```