Commit cf6e3acd authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

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.
parent cff51f1f
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
......
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
......
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
......
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
......
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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment