[OpenSER-Devel] [ openser-Bugs-1933653 ] xlog: memory not cleaned up on shutdown

SourceForge.net noreply at sourceforge.net
Thu Apr 3 20:51:17 CEST 2008


Bugs item #1933653, was opened at 2008-04-03 14:51
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=1933653&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 devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
Assigned to: Nobody/Anonymous (nobody)
Summary: xlog: memory not cleaned up on shutdown

Initial Comment:
When openser shuts down, most of the allocated memory is cleaned up.  There are some leftovers from the xlog fixup functions:

265. N  address=0x81b66c0 frag=0x81b66a8 size=44 used=1 
        alloc'd from xlog.c: xlog_fixup(243) 
    start check=f0f0f0f0, end check= c0c0c0c0, abcdefed 


static int xlog_fixup(void** param, int param_no)
{
...
        xlp = (xl_level_p)pkg_malloc(sizeof(xl_level_t));
        if(xlp == NULL)
        {
                LM_ERR("no more memory\n");
                return E_UNSPEC;
        }
        memset(xlp, 0, sizeof(xl_level_t));
...

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

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



More information about the Devel mailing list