From 8d52353425eb3dfa16900218400cc4f09c63da12 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 10 Sep 2009 17:20:00 -0500 Subject: [PATCH] Fix double free issue --- plugins/phonesim.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/phonesim.c b/plugins/phonesim.c index f5a081a9..aea3fc51 100644 --- a/plugins/phonesim.c +++ b/plugins/phonesim.c @@ -86,8 +86,6 @@ static void phonesim_remove(struct ofono_modem *modem) g_free(data); ofono_modem_set_data(modem, NULL); - - g_free(data); } static void phonesim_debug(const char *str, void *user_data)