mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[all] fix numerous memory leaks at application shutdown
This commit is contained in:
@@ -261,6 +261,7 @@ static bool x11GetProp(LG_DSProperty prop, void *ret)
|
||||
maxSamples = samples;
|
||||
}
|
||||
|
||||
XFree(visuals);
|
||||
XCloseDisplay(dpy);
|
||||
|
||||
*(int*)ret = maxSamples;
|
||||
|
Reference in New Issue
Block a user