fix: allocate and free entry.name in open_recent_project palette
This commit is contained in:
parent
bd27db46d1
commit
67ffff4caa
2 changed files with 9 additions and 3 deletions
|
@ -89,6 +89,8 @@ pub fn Create(options: type) type {
|
|||
|
||||
pub fn deinit(self: *Self) void {
|
||||
self.commands.deinit();
|
||||
if (@hasDecl(options, "deinit"))
|
||||
options.deinit(self);
|
||||
self.entries.deinit();
|
||||
tui.current().message_filters.remove_ptr(self);
|
||||
if (tui.current().mainview.dynamic_cast(mainview)) |mv|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue