==11339== Invalid read of size 4
==11339== at 0x4073229: rw_mode_get_width (randrwrap.c:1104)
==11339== by 0x804D62A: rebuild_gui (xrandr-capplet.c:525)
==11339== by 0x804F1AD: run_application (xrandr-capplet.c:1755)
==11339== by 0x804F83B: main (xrandr-capplet.c:1799)
==11339== Address 0xf is not stack'd, malloc'd or (recently) free'd
the valgrind log shows this error
==11339== Invalid read of size 4 capplet. c:525) capplet. c:1755) capplet. c:1799)
==11339== at 0x4073229: rw_mode_get_width (randrwrap.c:1104)
==11339== by 0x804D62A: rebuild_gui (xrandr-
==11339== by 0x804F1AD: run_application (xrandr-
==11339== by 0x804F83B: main (xrandr-
==11339== Address 0xf is not stack'd, malloc'd or (recently) free'd