From f906bd6c79b35cd54c0d11df62cc3fe5f71bd86f Mon Sep 17 00:00:00 2001 From: InKryption <59504965+InKryption@users.noreply.github.com> Date: Fri, 10 Dec 2021 02:44:28 +0100 Subject: [PATCH] glfw: remove accidental re-addition of TODO --- glfw/src/Window.zig | 3 --- 1 file changed, 3 deletions(-) diff --git a/glfw/src/Window.zig b/glfw/src/Window.zig index 6c8e91c4..800bcbd5 100644 --- a/glfw/src/Window.zig +++ b/glfw/src/Window.zig @@ -1424,9 +1424,6 @@ pub inline fn setPosCallback(self: Window, callback: ?fn (window: Window, xpos: }; } -// TODO: don't the calls to `from` in these `set*CallbackWrapper` functions cause a leak? -// is this what's being reported by valgrind in [#60](https://github.com/hexops/mach/issues/60)? - fn setSizeCallbackWrapper(handle: ?*c.GLFWwindow, width: c_int, height: c_int) callconv(.C) void { internal_debug.assertInitialized(); const window = from(handle.?) catch unreachable;