Bug 666551-Fix a few dangling pointers
authorrodrigorivascosta <rodrigorivascosta@gmail.com>
Thu, 22 Dec 2011 02:48:09 +0000 (10:48 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 22 Dec 2011 02:51:31 +0000 (10:51 +0800)
commit1b0337744282c7f048a31a9818b99370d97c44f3
treea14b67d49b5bb790d758a0782348e768a25c38a6
parent76bc1ab28084dab671fed6e9f3993014e225df2c
Bug 666551-Fix a few dangling pointers

When removing an item from the list, check the next one's my_owner,
and fix it accordingly. And take this case into account when last
of the list is deleted.

Also, assign NULL to 'my_owner' in g_thread_xp_WakeConditionVariable.
glib/gthread-win32.c