summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/emotion_smart.c
diff options
context:
space:
mode:
authordoursse <doursse>2007-11-11 16:02:02 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2007-11-11 16:02:02 +0000
commit6c22f4068d4e51b0765dfa7fb83f5a0174187a59 (patch)
tree99c6c65eef5772431455d94ef654bb8912b63c65 /legacy/emotion/src/lib/emotion_smart.c
parenteb6534508d4907c577ddb7efc593755dfbbb9775 (diff)
Fix the play of 2 files. Patch by Nicolas Aguirre
SVN revision: 32576
Diffstat (limited to 'legacy/emotion/src/lib/emotion_smart.c')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 340e3feb9c..1fcdc9a0c9 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -125,7 +125,10 @@ _emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module **
125 printf ("Unable to load module %s\n", name); 125 printf ("Unable to load module %s\n", name);
126 126
127 if (path_group) 127 if (path_group)
128 ecore_path_group_del(path_group); 128 {
129 ecore_path_group_del(path_group);
130 path_group = NULL;
131 }
129 132
130 return 0; 133 return 0;
131} 134}
@@ -147,7 +150,11 @@ _emotion_module_close(Emotion_Video_Module *mod, void *video)
147 /* 150 /*
148 ecore_plugin_unload(plugin); 151 ecore_plugin_unload(plugin);
149 */ 152 */
150 ecore_path_group_del(path_group); 153 if (path_group)
154 {
155 ecore_path_group_del(path_group);
156 path_group = NULL;
157 }
151} 158}
152 159
153/*******************************/ 160/*******************************/