mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
free the memory we allocate
This commit is contained in:
parent
1bc006cec7
commit
7fa759fd29
2 changed files with 11 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ pub fn main() !void {
|
|||
|
||||
var server: Server = undefined;
|
||||
try server.init();
|
||||
defer server.deinit();
|
||||
|
||||
var buf: [11]u8 = undefined;
|
||||
const socket = try server.wl_server.addSocketAuto(&buf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue