aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-08-30 14:08:57 +0000
committerChristian Grothoff <christian@grothoff.org>2010-08-30 14:08:57 +0000
commit4dd7b1d91d656baa2e55604c57b6a30f7dd34add (patch)
tree116b62c06ff6adb11b93896eedd1e888b3d2e13a
parent9412f22ad3050babd41d2e431ab6a3e4cc2d5346 (diff)
downloadlibextractor-4dd7b1d91d656baa2e55604c57b6a30f7dd34add.tar.gz
libextractor-4dd7b1d91d656baa2e55604c57b6a30f7dd34add.zip
fix
-rw-r--r--src/main/test_plugin_load_multi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/test_plugin_load_multi.c b/src/main/test_plugin_load_multi.c
index 83e9120..28a9aae 100644
--- a/src/main/test_plugin_load_multi.c
+++ b/src/main/test_plugin_load_multi.c
@@ -20,6 +20,10 @@ testLoadPlugins ()
20 { 20 {
21 fprintf (stderr, 21 fprintf (stderr,
22 "Failed to load default plugins!\n"); 22 "Failed to load default plugins!\n");
23 if (el1 != NULL)
24 EXTRACTOR_plugin_remove_all (el1);
25 if (el2 != NULL)
26 EXTRACTOR_plugin_remove_all (el2);
23 return 1; 27 return 1;
24 } 28 }
25 EXTRACTOR_plugin_remove_all (el1); 29 EXTRACTOR_plugin_remove_all (el1);