#13 missing XFreeFontInfo after XQueryFont

closed-accepted
Kevin DeKorte
None
5
2006-08-22
2006-08-20
Burkhard Fischer
No

Hi,

with valgrind I discovered a memory leak in
Initialize() (plugin-ui.cpp)

The resource XFontStruct *fstr, allocated by
XQueryFont() should be freed with XFreeFontInfo(NULL,
fstr, 0).

The attached patch is for the daily snapshot (18.
August 2006).

Bye,
Burkhard

Discussion

  • patch for missing XFreeFontInfo

     
    Attachments
  • Kevin DeKorte
    Kevin DeKorte
    2006-08-22

    • assigned_to: nobody --> kdekorte
    • status: open --> closed-accepted