From 916f04793538a5f53068bb63762a92befbf6dbc4 Mon Sep 17 00:00:00 2001 From: Rajesh P S Date: Tue, 30 Jul 2013 14:52:06 +0900 Subject: [PATCH] evas: unset the right backend when unregistering module. --- src/lib/evas/file/evas_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) if (!em || em->definition != module) return EINA_FALSE; if (type == EVAS_MODULE_TYPE_ENGINE) - eina_array_data_set(evas_engines, em->id_engine, NULL); + eina_array_data_set(evas_engines, em->id_engine - 1, NULL); eina_hash_del(evas_modules[type], module->name, em); free(em); -- 2.34.1