]> diplodocus.org Git - xorg-xinput/commitdiff
Don't leak output_info
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 17 Feb 2012 03:23:08 +0000 (13:23 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 21 Feb 2012 01:19:17 +0000 (11:19 +1000)
This inverts the logic to have a more obvious flow for freeing the
output_info.

==26716== 1,161 bytes in 8 blocks are definitely lost in loss record 5 of 7
==26716==    at 0x4A074CD: malloc (vg_replace_malloc.c:236)
==26716==    by 0x395D804ABA: XRRGetOutputInfo (in /usr/lib64/libXrandr.so.2.2.0)
==26716==    by 0x40932B: map_output_xrandr (transform.c:150)
==26716==    by 0x40982F: map_to_output (transform.c:263)
==26716==    by 0x4070A4: main (xinput.c:386)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

No differences found