Disconnecting g_signal_connects in finalise



Hi there Dirk-Jan,

Note that the g_signal_connect in tny-maemo-conic-device.c at line 581
must be g_signal_disconnect'ed in the finalise of TnyMaemoConicDevice.

Else that "self" pointer that is used as user_data, can become a
dangling pointer.


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]