[OpenSER-Devel] [ openser-Bugs-1918358 ] Memory leak when terminating dialogs using MI

SourceForge.net noreply at sourceforge.net
Tue Mar 18 17:03:49 CET 2008


Bugs item #1918358, was opened at 2008-03-18 16:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1918358&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Carsten Bock (carstenbock)
Assigned to: Nobody/Anonymous (nobody)
Summary: Memory leak when terminating dialogs using MI

Initial Comment:
Hi there,

tiny issue: A memory leak occurs, when terminating a call using the new MI command from the dialog-module: The route-set from the dialog is not properly free'd.
In dlg_req_within in line 256 "pkg_free(dialog_info);" is called, which will not free the included routeset. The route-set is only free'd in case of an error. I believe, this should be "free_tm_dlg(dialog_info);" which will also free the included route-set.
Attached tiny patch fixes this issue.

Carsten

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1918358&group_id=139143



More information about the Devel mailing list