! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[PATCH] dialogs/display-settings: Free randr->mirrored.
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Display Settings

Comments

Description Jactry Zeng 2014-08-17 14:10:41 CEST
Created attachment 5605 
patch

Leak randr->mirrored. (by Valgrind)

Valgrind log:
==30091== 4 bytes in 1 blocks are definitely lost in loss record 179 of 6,884
==30091==    at 0x402C109: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==30091==    by 0x4948C4A: g_malloc0 (in /lib/i386-linux-gnu/libglib-2.0.so.0.4000.0)
==30091==    by 0x4948F2A: g_malloc0_n (in /lib/i386-linux-gnu/libglib-2.0.so.0.4000.0)
==30091==    by 0x8054DE8: xfce_randr_populate (xfce-randr.c:208)
==30091==    by 0x8055294: xfce_randr_new (xfce-randr.c:302)
==30091==    by 0x80545E7: main (main.c:3006)
Comment 1 Simon Steinbeiss editbugs 2014-08-20 20:55:33 CEST
Looks good, merged to master.

Bug #11085

Reported by:
Jactry Zeng
Reported on: 2014-08-17
Last modified on: 2014-08-20

People

Assignee:
Jérôme Guelfucci
CC List:
4 users

Version

Version:
4.11.0

Attachments

patch (739 bytes, text/plain)
2014-08-17 14:10 CEST , Jactry Zeng
no flags

Additional information