Re: [gtk-list] memory profiling and gtk_init()




On Wed, 24 Nov 1999, Rasmus Andersen wrote:
> 
> My question is: Is there a "counterweight" to gtk_init() that destroys the
> data allocated by gtk_init()?
> 
> I've tried to RTFM and RTFFAQ but without seeing the problem mentioned.
> 

It probably should be added to the FAQ.

There is no way to free that data. However, if you use a
garbage-collection-based memory leak detector such as Owen's Memprof
(http://people.redhat.com/~otaylor/memprof) or Boehm GC then the
gtk_init() stuff won't be reported as a leak.

Havoc




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