Follow-up Comment #3, bug #13705 (project gnustep):

It realy looks like memory leak in text rendering fro me the memory increase
stops when PSshow(timeStr); lines are commented
but happens only on gnustep-back-0.10.2 on back-0.9.0 works fine no increase
of used memory.

using x11-xlib backend as library (--disable-backend-bundle)
....
    //-----------------------------------------------
    strftime (timeStr, 12, "%H:%M:%S", gmtime (&currentTime));
    [clockFont set];
    PSsetrgbcolor (.0, .85, .0);
    PSmoveto (NSMinX(tmpR)+ 42., NSMinY(tmpR)+ NSHeight(tmpR) - 18.);
    PSshow (timeStr);
    //-----------------------------------------------
    strftime (timeStr, 12, "%d.%m", gmtime (&currentTime));
    [dateFont set];
    PSsetrgbcolor (.0, .6, .0);
    PSmoveto (NSMinX(tmpR)+ 4., NSMinY(tmpR)+ NSHeight(tmpR) - 18.);
    PSshow (timeStr);
    //-----------------------------------------------   
....

also memorz increase happend in gnustep=examples GSTest NSTableView test when
resize tableview and then moving with scrollabr to force redraw of it's
content.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13705>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to