Changeset 5f74987


Ignore:
Timestamp:
2011-06-11T16:09:50Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
de923d5
Parents:
5983eca
Message:

Crash-bug (NULL-ptr deref) fix in channel part routine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    r5983eca r5f74987  
    908908        /* Remove references in both directions now. We don't need each other anymore. */
    909909        ic->data = NULL;
    910         c->ui_data = NULL;
     910        if( c )
     911                c->ui_data = NULL;
    911912       
    912913        return TRUE;
Note: See TracChangeset for help on using the changeset viewer.