check if context->poll_chunk is set before trying to destroy it. For
authorManish Singh <yosh@gimp.org>
Wed, 9 Jul 2003 23:31:20 +0000 (23:31 +0000)
committerManish Singh <yosh@src.gnome.org>
Wed, 9 Jul 2003 23:31:20 +0000 (23:31 +0000)
commitca1ff92c511cd264886fc2384a4275d8566e1d0b
treef32fabcd26ac3a0b9c349c9d9347ace9c7117160
parentf1c0e401ab20b027bfe4fd14c9ba34d0e89ed2cd
check if context->poll_chunk is set before trying to destroy it. For

Wed Jul  9 16:27:26 2003  Manish Singh  <yosh@gimp.org>

        * glib/gmain.c (g_main_context_unref_and_unlock): check if
        context->poll_chunk is set before trying to destroy it. For example,
        This can happen if no sources are added to a context before it is
        freed.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmain.c