ionutionita92 commented on this pull request.
- pkg_free(*param);
- /* free temporary proxy*/
- if(p) {
- free_proxy(p); /* frees only p content, not p itself */
- pkg_free(p);
+ trace_type = parse_siptrace_flag(&sflags);
+ if (trace_type == SIPTRACE_NONE) {
+ LM_ERR("Failed to parse trace type!\n");
+ return -1;
+ }
+
+ *param = pkg_malloc(sizeof(trace_type));
Thanks for this one.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1912#discussion_r273000051