X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=OSX%2Fgrabclient-osx.m;fp=OSX%2Fgrabclient-osx.m;h=7bfdcb4fa811b0e921dbd585f571b2422e4e39c2;hp=045039d3762bc9aed0d4cf2980f4c138cfd7eadf;hb=c85f503f5793839a6be4c818332aca4a96927bb2;hpb=78add6e627ee5f10e1fa6f3852602ea5066eee5a diff --git a/OSX/grabclient-osx.m b/OSX/grabclient-osx.m index 045039d3..7bfdcb4f 100644 --- a/OSX/grabclient-osx.m +++ b/OSX/grabclient-osx.m @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992-2017 Jamie Zawinski +/* xscreensaver, Copyright (c) 1992-2018 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -342,6 +342,7 @@ osx_grab_desktop_image (Screen *screen, Window xwindow, Drawable drawable, (NSString *)kCGWindowNumber]).intValue; } } + CFRelease (L); } // Grab a screen shot of those windows below this one