Function deinit [src]

Prototype

pub fn deinit(self: *Module, allocator: Allocator) void

Parameters

self: *Moduleallocator: Allocator

Source

pub fn deinit(self: *Module, allocator: Allocator) void { allocator.free(self.module_name); allocator.free(self.obj_file_name); if (self.populated) { allocator.free(self.symbols); allocator.free(self.subsect_info); } }