bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #13705] possible memory leak in setStringValue


From: UBoss
Subject: [bug #13705] possible memory leak in setStringValue
Date: Tue, 16 May 2006 13:13:58 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]