]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4045 try this patch
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 27 Mar 2012 20:23:07 +0000 (15:23 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 27 Mar 2012 20:23:12 +0000 (15:23 -0500)
src/switch_loadable_module.c

index 9474fee9b00b602685230bc172c5785e9ffde954..560004fd3b1edb81af6f18bae7fd39b235133f03 100644 (file)
@@ -1289,6 +1289,11 @@ static switch_status_t switch_loadable_module_load_file(char *path, char *filena
 
 
        if (err) {
+
+               if (dso) {
+                       switch_dso_destroy(&dso);
+               }
+
                if (pool) {
                        switch_core_destroy_memory_pool(&pool);
                }