Module: kamailio Branch: master Commit: eda03789f693bb72ec4ee05a8b2b4723e5080504 URL: https://github.com/kamailio/kamailio/commit/eda03789f693bb72ec4ee05a8b2b4723...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2024-07-16T08:27:42+02:00
core: remove unnecessary cleanup when locating a module
---
Modified: src/core/sr_module.c
---
Diff: https://github.com/kamailio/kamailio/commit/eda03789f693bb72ec4ee05a8b2b4723... Patch: https://github.com/kamailio/kamailio/commit/eda03789f693bb72ec4ee05a8b2b4723...
---
diff --git a/src/core/sr_module.c b/src/core/sr_module.c index d67e7e44af3..5db20255874 100644 --- a/src/core/sr_module.c +++ b/src/core/sr_module.c @@ -535,9 +535,6 @@ int ksr_locate_module(char *mod_path, char **new_path) return 0;
error: - if(path != NULL && path != mod_path) { - pkg_free(path); - }
return -1; }