summaryrefslogtreecommitdiff
path: root/src/lib/evas/file
diff options
context:
space:
mode:
authorRajesh P S <rajeshps@samsung.com>2013-07-30 14:52:06 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-30 14:54:26 +0900
commit916f04793538a5f53068bb63762a92befbf6dbc4 (patch)
tree26337b83dc804ecfdf2e9e57a7c6fb6bf90d78be /src/lib/evas/file
parent74fadb26fa77d3e01846b97f813b1ebe92aea19f (diff)
evas: unset the right backend when unregistering module.
Diffstat (limited to 'src/lib/evas/file')
-rw-r--r--src/lib/evas/file/evas_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c
index 0122482361..9f70e60369 100644
--- a/src/lib/evas/file/evas_module.c
+++ b/src/lib/evas/file/evas_module.c
@@ -383,7 +383,7 @@ evas_module_unregister(const Evas_Module_Api *module, Evas_Module_Type type)
383 if (!em || em->definition != module) return EINA_FALSE; 383 if (!em || em->definition != module) return EINA_FALSE;
384 384
385 if (type == EVAS_MODULE_TYPE_ENGINE) 385 if (type == EVAS_MODULE_TYPE_ENGINE)
386 eina_array_data_set(evas_engines, em->id_engine, NULL); 386 eina_array_data_set(evas_engines, em->id_engine - 1, NULL);
387 387
388 eina_hash_del(evas_modules[type], module->name, em); 388 eina_hash_del(evas_modules[type], module->name, em);
389 free(em); 389 free(em);