Fix services list not being initialized

Services list must be initialized to NULL, otherwise when turning the
module back bad things may happen.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 45813
This commit is contained in:
Gustavo Sverzut Barbieri 2010-02-02 17:39:06 +00:00
parent 5dcd42d899
commit 91e3640b56
1 changed files with 1 additions and 0 deletions

View File

@ -1762,6 +1762,7 @@ e_modapi_init(E_Module *m)
if (!ctxt)
return NULL;
ctxt->services = NULL;
ctxt->technologies = NULL;
_connman_actions_register(ctxt);