mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
Fix a write to freed memory: Unlock the channel's mutex before unrefing
2004-12-06 Tor Lillqvist <tml@iki.fi> * glib/giowin32.c (g_io_win32_finalize): Fix a write to freed memory: Unlock the channel's mutex before unrefing the channel.
This commit is contained in:
parent
cff51f1f0b
commit
cf6e3acdb5
@ -1,3 +1,8 @@
|
||||
2004-12-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/giowin32.c (g_io_win32_finalize): Fix a write to freed
|
||||
memory: Unlock the channel's mutex before unrefing the channel.
|
||||
|
||||
2004-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Remove a no longer needed hack for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-12-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/giowin32.c (g_io_win32_finalize): Fix a write to freed
|
||||
memory: Unlock the channel's mutex before unrefing the channel.
|
||||
|
||||
2004-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Remove a no longer needed hack for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-12-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/giowin32.c (g_io_win32_finalize): Fix a write to freed
|
||||
memory: Unlock the channel's mutex before unrefing the channel.
|
||||
|
||||
2004-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Remove a no longer needed hack for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-12-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/giowin32.c (g_io_win32_finalize): Fix a write to freed
|
||||
memory: Unlock the channel's mutex before unrefing the channel.
|
||||
|
||||
2004-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Remove a no longer needed hack for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-12-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/giowin32.c (g_io_win32_finalize): Fix a write to freed
|
||||
memory: Unlock the channel's mutex before unrefing the channel.
|
||||
|
||||
2004-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Remove a no longer needed hack for
|
||||
|
@ -737,8 +737,8 @@ g_io_win32_finalize (GSource *source)
|
||||
send (channel->reset_send, send_buffer, sizeof (send_buffer), 0);
|
||||
}
|
||||
|
||||
g_io_channel_unref (watch->channel);
|
||||
UNLOCK (channel->mutex);
|
||||
g_io_channel_unref (watch->channel);
|
||||
}
|
||||
|
||||
GSourceFuncs g_io_watch_funcs = {
|
||||
|
Loading…
Reference in New Issue
Block a user