Changes
1 changed files (+5/-0)
-
-
@@ -183,6 +183,8 @@ if (self.servers) |servers| {for (servers.*) |server| { server.free(); } allocator.free(servers.*); allocator.destroy(servers); } allocator.destroy(self);
-
@@ -208,6 +210,9 @@ }pub fn free(self_ptr: ?*ServerScanner) callconv(.C) void { ServerScanner.close(self_ptr); if (self_ptr) |self| { allocator.destroy(self); } } const udp_dst = std.net.Address.initIp4(
-