Re: [gtk-list] memory profiling and gtk_init()
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] memory profiling and gtk_init()
- Date: Wed, 24 Nov 1999 10:35:43 -0500 (EST)
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]