summaryrefslogtreecommitdiffstats
path: root/src/voicecall.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-03-30 13:29:47 -0500
committerDenis Kenzior <denkenz@gmail.com>2011-03-30 13:29:47 -0500
commit29df90d2b14d37a15d13eaa38f41756ce4cbb675 (patch)
treeb214eb3d89d22e6c8c6843745e0e0407748cdeec /src/voicecall.c
parent44953be4064c2ac7dcddbfb5ceed059973871932 (diff)
downloadofono-29df90d2b14d37a15d13eaa38f41756ce4cbb675.tar.bz2
voicecall: set call_list to NULL
Diffstat (limited to 'src/voicecall.c')
-rw-r--r--src/voicecall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index afda96a0..3e8fa463 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -2201,6 +2201,7 @@ static void voicecall_unregister(struct ofono_atom *atom)
voicecall_dbus_unregister(vc, l->data);
g_slist_free(vc->call_list);
+ vc->call_list = NULL;
ofono_modem_remove_interface(modem, OFONO_VOICECALL_MANAGER_INTERFACE);
g_dbus_unregister_interface(conn, path,