Re: Destroying a window
- From: mrl netbank com br
- To: Martyn Russell <jackrussell subdimension com>
- Cc: Mailing "list GTK+ (E-mail)" <gtk-app-devel-list gnome org>
- Subject: Re: Destroying a window
- Date: Tue, 12 Mar 2002 17:13:31 -0300
On Tue, Mar 12, 2002 at 08:05:18PM +0000, Martyn Russell wrote:
On Tue, 2002-03-12 at 19:04, mrl netbank com br wrote:
Do you realy have to free(..) it???
ABSOLUTELY!
Im writing software which responds to telephony events. In particular I
have a new window for each call that each user has. At any time there
could be 20 users, over the course of the day thats 20 x n (calls). The
mem not being freed correctly causes a leak of just over 1 meg over the
day. If it was used in a call centre it would be more serious.
---end quoted text---
Hmmmm.. not realy..
I said the memory is cached, not just loosed..
The next time you call g_malloc(..), eg, call gtk_window_new(..), you'll
probably use this memory again..
Hope you got it.. :)
[]'s
--
Marcelo R Leitner <mrl netbank com br>
ICQ #: 29966851
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]