Commit 644c54b1 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

winemac: Fix memory leak in UpdateDisplayDevices.

parent 49f70597
......@@ -1208,6 +1208,7 @@ BOOL macdrv_UpdateDisplayDevices( const struct gdi_device_manager *device_manage
device_manager->add_mode( mode, param );
}
free(modes);
macdrv_free_monitors(monitors);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment