1
Fork 0

fix memleak

main
Motiejus Jakštys 2022-02-16 11:32:27 +02:00 committed by Motiejus Jakštys
parent b43ba9c672
commit e55d01ed15
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ const ShellPopcon = struct {
const result = ShellSections.init(self.allocator, topShells);
const allocator = self.allocator;
self.deinit();
self.* = init(allocator);
return result;
}