Module: kamailio Branch: 4.2 Commit: 4504cd8d3d3d9c80c93d8d90eca7c7f9bbdf3af4 URL: https://github.com/kamailio/kamailio/commit/4504cd8d3d3d9c80c93d8d90eca7c7f9...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-07-27T10:30:16+02:00
dispatcher: free parsed params at reload time
(cherry picked from commit fc53c424f4ab7454bfd1e644291906392fc495fa) (cherry picked from commit bfdddc685d95377393a90bd911b333045c7feb38)
---
Modified: modules/dispatcher/dispatch.c
---
Diff: https://github.com/kamailio/kamailio/commit/4504cd8d3d3d9c80c93d8d90eca7c7f9... Patch: https://github.com/kamailio/kamailio/commit/4504cd8d3d3d9c80c93d8d90eca7c7f9...
---
diff --git a/modules/dispatcher/dispatch.c b/modules/dispatcher/dispatch.c index f9b9cc0..ba13a93 100644 --- a/modules/dispatcher/dispatch.c +++ b/modules/dispatcher/dispatch.c @@ -234,6 +234,7 @@ int ds_set_attrs(ds_dest_t *dest, str *attrs) str2sint(&pit->body, &dest->attrs.maxload); } } + if(params_list) free_params(params_list); return 0; }