[PATCH xserver 0/3] randr valgrind cleanups

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Thu Nov 9 09:21:18 UTC 2017


These three small patches replace and complement my previous “randr: properly
cleanup on crtc and output destroy”.

The first one cleans up another bit of unitialized memory being sent over the
wire (similar to the previous ProcRRGtOutputInfo patch) which I didn't spot earlier,
and the other two fix the leaks related to dynamic creation and destruction of crtcs
and outputs (hopefull correctly, this time ;-))

Giuseppe Bilotta (3):
  randr: rrGetScreenResources: initialize memory
  randr: always realloc crtcs and outputs
  randr: free crtc->outputs on destroy

 randr/rrcrtc.c   | 10 ++++------
 randr/rroutput.c |  9 +++------
 randr/rrscreen.c |  2 +-
 3 files changed, 8 insertions(+), 13 deletions(-)

-- 
2.14.1.439.g647b9b4702



More information about the xorg-devel mailing list