mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 02:32:11 +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
56e30f869c
commit
4c61385579
@ -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-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version.
|
||||
|
@ -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-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version.
|
||||
|
@ -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-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version.
|
||||
|
@ -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-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version.
|
||||
|
@ -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-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version.
|
||||
|
@ -735,8 +735,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…
x
Reference in New Issue
Block a user