e/connman: free bus owner after manager is freed

SVN revision: 76027
This commit is contained in:
Lucas De Marchi 2012-09-03 21:57:54 +00:00
parent bdbc5ac934
commit 01a3319909
1 changed files with 3 additions and 3 deletions

View File

@ -238,12 +238,12 @@ static struct Connman_Manager *_manager_new(void)
static inline void _e_connman_system_name_owner_exit(void)
{
free(bus_owner);
bus_owner = NULL;
_manager_free(connman_manager);
connman_manager = NULL;
free(bus_owner);
bus_owner = NULL;
ecore_event_add(E_CONNMAN_EVENT_MANAGER_OUT, NULL, NULL, NULL);
}