diff options
-rw-r--r-- | docs/CREDITS | 1 | ||||
-rw-r--r-- | uisimulator/common/io.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/docs/CREDITS b/docs/CREDITS index 906e3d0514..ccc174ba3d 100644 --- a/docs/CREDITS +++ b/docs/CREDITS | |||
@@ -179,3 +179,4 @@ Rui Marinho | |||
179 | Alun Thomas | 179 | Alun Thomas |
180 | Nils Wallménius | 180 | Nils Wallménius |
181 | Naoaki Okazaki | 181 | Naoaki Okazaki |
182 | Will Dyson | ||
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, | |||
361 | #else | 361 | #else |
362 | DEBUGF("dlopen(%s): %s\n", path, dlerror()); | 362 | DEBUGF("dlopen(%s): %s\n", path, dlerror()); |
363 | #endif | 363 | #endif |
364 | dlclose(*pd); | ||
365 | return NULL; | 364 | return NULL; |
366 | } | 365 | } |
367 | 366 | ||
@@ -399,7 +398,6 @@ void *sim_plugin_load(char *plugin, void **pd) | |||
399 | #else | 398 | #else |
400 | DEBUGF("dlopen(%s): %s\n", path, dlerror()); | 399 | DEBUGF("dlopen(%s): %s\n", path, dlerror()); |
401 | #endif | 400 | #endif |
402 | dlclose(*pd); | ||
403 | return NULL; | 401 | return NULL; |
404 | } | 402 | } |
405 | 403 | ||