Module: sip-router
Branch: master
Commit: 08605a1c050b0dbc58d683ea8a76bbae364067d3
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=08605a1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri May 29 13:02:34 2009 +0300
core: load_module - do not free 'path'
- it is stored by register_module and printed later for modparam
---
sr_module.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sr_module.c b/sr_module.c
index 8dfcfad..7986720 100644
--- a/sr_module.c
+++ b/sr_module.c
@@ -405,8 +405,6 @@ reload:
}
}
if (register_module(*mod_if_ver, exp, path, handle)<0) goto error1;
- if (path && path!=mod_path)
- pkg_free(path);
return 0;
error1: