Changeset 18634


Ignore:
Timestamp:
11/17/12 22:39:52 (11 years ago)
Author:
nit
Message:

[titan] fix segfault in channellist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/channellist.h

    r18623 r18634  
    16471647                        int sid = 0;
    16481648                        uint64_t tid = 0;
    1649                         if((list == ALLCHANNEL || list == SATCHANNEL || list == PROVIDERCHANNEL || list == AZCHANNEL || list == BOUQUETCHANNEL) && listbox->select->handle != NULL)
     1649                        if((list == ALLCHANNEL || list == SATCHANNEL || list == PROVIDERCHANNEL || list == AZCHANNEL || list == BOUQUETCHANNEL) && listbox->select != NULL && listbox->select->handle != NULL)
    16501650                        {
    16511651                                sid = ((struct channel*)listbox->select->handle)->serviceid;
Note: See TracChangeset for help on using the changeset viewer.