perf: Fixed leaks.

This commit is contained in:
Spencer Brower
2026-07-21 15:48:00 -04:00
parent cfd01a02d0
commit 1856e29763
4 changed files with 5 additions and 8 deletions
-2
View File
@@ -846,7 +846,6 @@ warn_missing_partial :: proc(
) {
hint := ""
available := collect_partial_names(partials)
defer delete(available)
suggestion := suggest_correction(available, name)
if suggestion != "" {
hint = fmt.tprintf("did you mean '%s'?", suggestion)
@@ -872,7 +871,6 @@ warn_unmatched_block_overrides :: proc(
return
}
available := collect_block_names(parent)
defer delete(available)
parent_path := parent.path
if parent_path == "" {
parent_path = "<input>"