Disconnecting g_signal_connects in finalise
- From: Philip Van Hoof <spam pvanhoof be>
- To: tinymail-devel-list <tinymail-devel-list gnome org>
- Cc: Dirk-Jan Binnema <Dirk-Jan Binnema nokia com>, tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: Disconnecting g_signal_connects in finalise
- Date: Fri, 16 Nov 2007 00:21:09 +0100
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]