Created attachment 1122821 [details]
Patch for memory leak
Description of problem:
The patch for slow mgag200 video from bug #1152233 introduces a memory leak in the server.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. on a system with mgag200/modesetting, run freqent screen updates e.g. by running "ls -lR /" in an xterm
Xorg process' memory usage increases constantly, until Xorg is OOM killed at some point.
No memory leak
The attached patch fixes this. I already verified it.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.