[Poppler-bugs] [Bug 9638] Memory leak in poppler-document

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Thu Jan 25 02:57:29 PST 2007


http://bugs.freedesktop.org/show_bug.cgi?id=9638


carlosgc at gnome.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #8391 is|0                           |1
           obsolete|                            |




------- Comment #2 from carlosgc at gnome.org  2007-01-25 02:57 -------
Created an attachment (id=8500)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=8500&action=view)
Updated patch

I've found another memleak in poppler-document:

==12925== 278 bytes in 15 blocks are definitely lost in loss record 168 of 333
==12925==    at 0x4021396: malloc (vg_replace_malloc.c:149)
==12925==    by 0x51EFFF5: g_malloc (gmem.c:131)
==12925==    by 0x5203448: g_strdup (gstrfuncs.c:91)
==12925==    by 0x51D36EB: g_filename_from_uri (gconvert.c:1797)
==12925==    by 0x45F61CF: poppler_document_save (poppler-document.cc:217)
==12925==    by 0x8097146: pdf_document_save(_EvDocument*, char const*,
_GError**) (ev-poppler.cc:248)
==12925==    by 0x8092210: ev_document_save (ev-document.c:136)
==12925==    by 0x807AA7F: file_save_dialog_response_cb (ev-window.c:1676)
==12925==    by 0x5191542: g_cclosure_marshal_VOID(i_xx_t) (gmarshal.c:216)
==12925==    by 0x5182F8A: g_closure_invoke (gclosure.c:490)
==12925==    by 0x519476A: signal_emit_unlocked_R (gsignal.c:2438)
==12925==    by 0x5195BE2: g_signal_emit_valist (gsignal.c:2197)

Here is an updated patch that fixes both. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Poppler-bugs mailing list