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

SourceForge.net noreply at sourceforge.net
Mon Mar 31 11:02:49 CEST 2008


Bugs item #1918358, was opened at 2008-03-18 18:03
Message generated for change (Comment added) made by bogdan_iancu
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Carsten Bock (carstenbock)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
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

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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-03-31 12:02

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Carsten,

That is totally correct - thanks for the fix.

Best regards,
Bogdan

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

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