Fix memory leak when setting autocompletions

This commit is contained in:
Pasi Kallinen
2025-04-18 11:40:48 +03:00
parent 050846ada9
commit f12108c5c5

View File

@@ -2328,6 +2328,8 @@ handler_change_autocompletions(void)
parseautocomplete(buf, FALSE);
}
}
if (n > 0)
free((genericptr_t) picks);
}
destroy_nhwindow(win);