summaryrefslogtreecommitdiffstats
path: root/uisimulator/common/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/io.c')
-rw-r--r--uisimulator/common/io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 56cdb46a6b..9115ef29e1 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -361,7 +361,6 @@ void *sim_codec_load_ram(char* codecptr, int size,
#else
DEBUGF("dlopen(%s): %s\n", path, dlerror());
#endif
- dlclose(*pd);
return NULL;
}
@@ -399,7 +398,6 @@ void *sim_plugin_load(char *plugin, void **pd)
#else
DEBUGF("dlopen(%s): %s\n", path, dlerror());
#endif
- dlclose(*pd);
return NULL;
}