fix(base): 修复 window_list_cleanup 中 p_delete 参数类型错误

This commit is contained in:
zedhugh committed 2026-05-05 00:42:06 +08:00
1 parent c7399f014b
commit d6512c531f
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ void window_list_reset(window_list_t *window_list) {
} }
void window_list_cleanup(window_list_t *window_list) { void window_list_cleanup(window_list_t *window_list) {
p_delete(window_list->windows); p_delete(&window_list->windows);
window_list->count = 0; window_list->count = 0;
window_list->capacity = 0; window_list->capacity = 0;
} }