[links] memory leak?
Harry Lin D332 (中光電)
harry.lin at coretronic.com
Fri Aug 17 01:18:34 MDT 2007
Hi,
I run Links with directfb, and use valgrind to check memory leak
Here is the result:
==7245== 3,276 (52 direct, 3,224 indirect) bytes in 1 blocks are definitely lost in loss record 225 of 1,079
==7245== at 0x4004864: calloc (vg_replace_malloc.c:279)
==7245== by 0x40FFBCE: lock_node (in /usr/local/lib/libfusion-1.0.so.0.0.0)
==7245== by 0x410047C: fusion_reactor_attach (in /usr/local/lib/libfusion-1.0.so.0.0.0)
==7245== by 0x40A6A1A: IDirectFBSurface_Construct (in /usr/local/lib/libdirectfb-1.0.so.0.0.0)
==7245== by 0x40A5192: IDirectFB_CreateSurface (in /usr/local/lib/libdirectfb-1.0.so.0.0.0)
==7245== by 0x807F673: directfb_get_empty_bitmap (directfb.c:262)
==7245== by 0x80B0309: buffer_to_bitmap (img.c:679)
==7245== by 0x80B1279: img_end (img.c:716)
==7245== by 0x80B2E56: jpeg_restart (jpeg.c:376)
==7245== by 0x80B1D18: img_process_download (img.c:935)
==7245== by 0x80B21C2: insert_image (img.c:1287)
==7245== by 0x809CE69: do_image (html_gr.c:571)
==7245== by 0x809D57A: g_html_special (html_gr.c:736)
==7245== by 0x8098775: html_img (html.c:1121)
==7245== by 0x8097727: parse_html (html.c:2765)
==7245== by 0x809B1EE: g_do_format (html_gr.c:933)
==7245== by 0x809B436: g_format_html_part (html_gr.c:1023)
==7245== by 0x80A047A: really_format_html (html_r.c:1288)
==7245== by 0x80D51E0: format_html (session.c:981)
==7245== by 0x80D5596: cached_format_html (session.c:1190)
==7245== by 0x80D59E5: html_interpret (session.c:1343)
==7245== by 0x80DA6F7: fd_loaded (session.c:1967)
==7245== by 0x80CF925: ses_go_backward (session.c:2174)
==7245== by 0x80C86BF: object_timer (objreq.c:296)
==7245== by 0x80CDEA8: check_timers (select.c:153)
==7245== by 0x80CE1C5: select_loop (select.c:435)
==7245== by 0x80BC1FE: main (main.c:409)
Something call get_empty_bitmap() and without free()?
More information about the links-list
mailing list