From: Anthony Minessale Date: Tue, 27 Mar 2012 20:23:07 +0000 (-0500) Subject: FS-4045 try this patch X-Git-Tag: v1.2-rc1~19^2^2~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859a33260255787909cdbacbf3c754ec17ce6760;p=thirdparty%2Ffreeswitch.git FS-4045 try this patch --- diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index 9474fee9b0..560004fd3b 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -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); }