#13 missing XFreeFontInfo after XQueryFont

closed-accepted
None
5
2006-08-22
2006-08-20
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

  • Burkhard Fischer

    patch for missing XFreeFontInfo

     
  • Kevin DeKorte

    Kevin DeKorte - 2006-08-22
    • assigned_to: nobody --> kdekorte
    • status: open --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks