[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freediameter-help
Subject:    [Help] Memory leak at session creation
From:       zackhasit () gmail ! com (zack Hasit)
Date:       2012-03-30 19:49:34
Message-ID: CAD0_ocGNpvwwUGMtrCupzV2s8jDOm87iGypV-W_j8a_XxGdycQ () mail ! gmail ! com
[Download RAW message or body]

Hi,

Although I do call fd_sess_destroy() at the end of the credit control
session I do not see this memory being de-allocated. Valgrind
complains this as memory leak.

==22525== 148 bytes in 4 blocks are definitely lost in loss record 905 of 1,627
==22525==    at 0x4A06FBB: malloc (vg_replace_malloc.c:207)
==22525==    by 0x5F43861: os0dup_int (in /lib/libfdproto.so.1.1.1)
==22525==    by 0x5F4E821: fd_sess_new (in /lib/libfdproto.so.1.1.1)
==22525==    by 0x5F50406: fd_sess_fromsid (in /lib/libfdproto.so.1.1.1)
==22525==    by 0x5F50900: fd_sess_fromsid_msg (in /lib/libfdproto.so.1.1.1)
==22525==    by 0x5F3EE9E: fd_msg_sess_get (in /lib/libfdproto.so.1.1.1)
==22525==    by 0x5CBB55D: msg_dispatch (in /lib/libfdcore.so.1.1.1)
==22525==    by 0x5CB3F06: process_thr (in /lib/libfdcore.so.1.1.1)
==22525==    by 0x3D8DC0673C: start_thread (in /lib64/libpthread-2.5.so)
==22525==    by 0x3D8D0D44BC: clone (in /lib64/libc-2.5.so)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic