Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixes Bug 1726 - Memory leak in X11_GetDisplayBounds
Browse files Browse the repository at this point in the history
  • Loading branch information
gabomdq committed Feb 22, 2013
1 parent ef2dc47 commit b6b2373
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/x11/SDL_x11modes.c
Expand Up @@ -860,6 +860,7 @@ X11_GetDisplayBounds(_THIS, SDL_VideoDisplay * sdl_display, SDL_Rect * rect)
if (xinerama) {
rect->x = xinerama[data->xinerama_screen].x_org;
rect->y = xinerama[data->xinerama_screen].y_org;
XFree(xinerama);
}
}
#endif /* SDL_VIDEO_DRIVER_X11_XINERAMA */
Expand Down

0 comments on commit b6b2373

Please sign in to comment.