Comment 4 for bug 1333727

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Okay, I couldn't resist. I just checked an indeed, this does introduce a memory leak.
After the patch, this is the result.

[arthur@AOD270 xpad-4.4]$ LD_PRELOAD=~/Development/tools/gobject-list/libgobject-list.so src/xpad | grep xpad -i
 ++ Created object 0x16c72f0, XpadSettings
 ++ Created object 0x1657e40, XpadPadGroup
 ++ Created object 0x172aa60, XpadUndo
 ++ Created object 0x1649ba0, XpadTextBuffer
 ++ Created object 0x17ce260, XpadTextView
 ++ Created object 0x18037e0, XpadGripToolItem
 ++ Created object 0x17fe1d0, XpadToolbar
 ++ Created object 0x17cc450, XpadPad
 ++ Created object 0x17f21e0, XpadUndo
 ++ Created object 0x7f53980076d0, XpadTextBuffer
 ++ Created object 0x17ce500, XpadTextView
 ++ Created object 0x182af40, XpadGripToolItem
 ++ Created object 0x1849170, XpadToolbar
 ++ Created object 0x17cc740, XpadPad
 -- Finalized object 0x18037e0, XpadGripToolItem
 -- Finalized object 0x17fe1d0, XpadToolbar
 -- Finalized object 0x17ce260, XpadTextView
 -- Finalized object 0x172aa60, XpadUndo
 -- Finalized object 0x1649ba0, XpadTextBuffer
 -- Finalized object 0x17cc450, XpadPad
 -- Finalized object 0x182af40, XpadGripToolItem
 -- Finalized object 0x1849170, XpadToolbar
 -- Finalized object 0x17ce500, XpadTextView
 -- Finalized object 0x17f21e0, XpadUndo
 -- Finalized object 0x7f53980076d0, XpadTextBuffer
 -- Finalized object 0x17cc740, XpadPad
 -- Finalized object 0x16c72f0, XpadSettings
 - 0x1657e40, XpadPadGroup: 1 refs
[arthur@AOD270 xpad-4.4]$