I found some memory leaks when calling phInit() and registering a line. Is there any phApi function I must call to release this memory? This happened without even making a call. I think if I place a call then there are much more leaks.

---------- Block 43341 at 0x01A847E8: 35 bytes ----------
  Call Stack:
    c:\work\openwengo\wifo\libosip2\src\osipparser2\osip_port.c (731): osip_malloc
    c:\work\openwengo\wifo\libosip2\src\osipparser2\osip_port.c (210): osip_strdup
    c:\work\openwengo\wifo\phapi\phapi.c (1885): phAddVline2

---------- Block 43314 at 0x01A84218: 8 bytes ----------
  Call Stack:
    c:\work\openwengo\wifo\libosip2\src\osipparser2\osip_port.c (731): osip_malloc
    c:\work\openwengo\wifo\libosip2\src\osip2\port_thread.c (94): osip_thread_create
    c:\work\openwengo\wifo\phapi\phapi.c (2806): phInit

---------- Block 43248 at 0x01A7F580: 8 bytes ----------
  Call Stack:
    c:\work\openwengo\wifo\libosip2\src\osipparser2\osip_port.c (731): osip_malloc
    c:\work\openwengo\wifo\libosip2\src\osipparser2\osip_from.c (84): osip_from_init
    c:\work\openwengo\wifo\exosip\src\exosip.c (3596): eXosip_guess_contact_uri
    c:\work\openwengo\wifo\phapi\phapi.c (2788): phInit

---------- Block 43247 at 0x0157A858: 12 bytes ----------
  Call Stack:
    c:\work\openwengo\wifo\libosip2\src\osipparser2\osip_port.c (731): osip_malloc
    c:\work\openwengo\wifo\libosip2\src\osipparser2\osip_from.c (78): osip_from_init
    c:\work\openwengo\wifo\exosip\src\exosip.c (3596): eXosip_guess_contact_uri
    c:\work\openwengo\wifo\phapi\phapi.c (2788): phInit

---------- Block 43086 at 0x019CB278: 4 bytes ----------
  Call Stack:
    c:\work\openwengo\wifo\ortp\src\rtpport.h (212): g_malloc
    c:\work\openwengo\wifo\ortp\src\rtpport.h (411): g_mutex_new
    c:\work\openwengo\wifo\ortp\src\str_utils.c (55): mbdb_mutex_init
    c:\work\openwengo\wifo\ortp\src\ortp.c (86): ortp_init
    c:\work\openwengo\wifo\phapi\phmedia.c (252): ph_media_init
    c:\work\openwengo\wifo\phapi\phapi.c (2760): phInit

--------- Block 43085 at 0x01511188: 4 bytes ----------
  Call Stack:
    c:\work\openwengo\wifo\ortp\src\rtpport.h (212): g_malloc
    c:\work\openwengo\wifo\ortp\src\rtpport.h (411): g_mutex_new
    c:\work\openwengo\wifo\ortp\src\str_utils.c (54): mbdb_mutex_init
    c:\work\openwengo\wifo\ortp\src\ortp.c (86): ortp_init
    c:\work\openwengo\wifo\phapi\phmedia.c (252): ph_media_init
    c:\work\openwengo\wifo\phapi\phapi.c (2760): phInit



--
----
Best regards / Mit freundlichen GrĂ¼ssen
Cantemir Mihu
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to