File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5959# built documents.
6060#
6161# The short X.Y version.
62- version = u '2.0.0 '
62+ version = '2.0.7 '
6363# The full version, including alpha/beta/rc tags.
6464release = 'latest'
6565
Original file line number Diff line number Diff line change 1515from .exception import ScreenshotError
1616from .factory import mss
1717
18- __version__ = '2.0.6 '
18+ __version__ = '2.0.7 '
1919__author__ = "Mickaël 'Tiger-222' Schoentgen"
2020__copyright__ = '''
2121 Copyright (c) 2013-2016, Mickaël 'Tiger-222' Schoentgen
Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ def get_pixels(self, monitor):
245245 buf_len = self .height * self .width * 4
246246 data = cast (ximage .contents .data , POINTER (c_ubyte * buf_len ))
247247 self .image = self .bgra_to_rgb (bytearray (data .contents ))
248+ self .xlib .XDestroyImage (ximage )
248249 return self .image
249250
250251
You can’t perform that action at this time.
0 commit comments