Memory leak

Russell Shaw rjshaw at netspace.net.au
Wed May 10 03:38:30 PDT 2006


Carsten Haitzler (The Rasterman) wrote:
> On Wed, 10 May 2006 02:32:50 +1000 Russell Shaw <rjshaw at netspace.net.au>
> babbled:
> 
> 
>>Hi,
>>In my code, i have:
>>
>>    malloc_stats();
>>
>>    Xutf8DrawString(
>>         app->display,
>>         win,
>>         wm->fontset.fontset,
>>         wm->title_gc.gc,
>>         x,
>>         y,
>>         cli->title,
>>         strlen(cli->title)
>>    );
>>
>>    malloc_stats();
> 
> 
> try drawing a second time. does it leak again?

Hi,
After refining my leak-tracking technique, i don't think it leaks now.
I've got a leak-free program now:)



More information about the xorg mailing list