mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-08 03:45:49 +01:00
Don't free cached_poll_array, when adding new poll's. This is taken care
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gmain.c (g_main_context_add_poll_unlocked): Don't free cached_poll_array, when adding new poll's. This is taken care for in g_main_context_iterate.
This commit is contained in:
parent
74b4d8c22e
commit
cf11b57917
@ -1,3 +1,9 @@
|
||||
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
|
||||
cached_poll_array, when adding new poll's. This is taken care for
|
||||
in g_main_context_iterate.
|
||||
|
||||
2001-08-30 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
After being away for about five months, I'm back working on
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
|
||||
cached_poll_array, when adding new poll's. This is taken care for
|
||||
in g_main_context_iterate.
|
||||
|
||||
2001-08-30 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
After being away for about five months, I'm back working on
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
|
||||
cached_poll_array, when adding new poll's. This is taken care for
|
||||
in g_main_context_iterate.
|
||||
|
||||
2001-08-30 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
After being away for about five months, I'm back working on
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
|
||||
cached_poll_array, when adding new poll's. This is taken care for
|
||||
in g_main_context_iterate.
|
||||
|
||||
2001-08-30 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
After being away for about five months, I'm back working on
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
|
||||
cached_poll_array, when adding new poll's. This is taken care for
|
||||
in g_main_context_iterate.
|
||||
|
||||
2001-08-30 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
After being away for about five months, I'm back working on
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
|
||||
cached_poll_array, when adding new poll's. This is taken care for
|
||||
in g_main_context_iterate.
|
||||
|
||||
2001-08-30 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
After being away for about five months, I'm back working on
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
|
||||
cached_poll_array, when adding new poll's. This is taken care for
|
||||
in g_main_context_iterate.
|
||||
|
||||
2001-08-30 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
After being away for about five months, I'm back working on
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
|
||||
cached_poll_array, when adding new poll's. This is taken care for
|
||||
in g_main_context_iterate.
|
||||
|
||||
2001-08-30 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
After being away for about five months, I'm back working on
|
||||
|
@ -2634,12 +2634,6 @@ g_main_context_add_poll_unlocked (GMainContext *context,
|
||||
newrec->next = pollrec;
|
||||
|
||||
context->n_poll_records++;
|
||||
if (context->cached_poll_array &&
|
||||
context->cached_poll_array_size < context->n_poll_records)
|
||||
{
|
||||
g_free (context->cached_poll_array);
|
||||
context->cached_poll_array = NULL;
|
||||
}
|
||||
|
||||
#ifdef G_THREADS_ENABLED
|
||||
context->poll_changed = TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user