speedupcdma: Fix stale control channel after hot-unplug

This commit is contained in:
Marcel Holtmann 2011-07-29 15:25:24 +02:00
parent bc329be0e2
commit 98d448e7c4
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ static void speedupcdma_remove(struct ofono_modem *modem)
ofono_modem_set_data(modem, NULL);
/* Cleanup after hot-unplug */
g_at_chat_unref(data->aux);
g_free(data);
}