Changeset 2dd23da for protocols/purple


Ignore:
Timestamp:
2015-03-15T08:10:25Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
098a75b, a70b7d7, f3ca350, fc650a8
Parents:
2c5ab49
git-author:
dequis <dx@…> (15-03-15 08:04:33)
git-committer:
dequis <dx@…> (15-03-15 08:10:25)
Message:

purple: Fix null pointer dereference when logging out due to daemon mode

Purple just doesn't work with daemon mode anyway, but it's better to
show the intended error message than to crash while showing it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    r2c5ab49 r2dd23da  
    337337{
    338338        struct purple_data *pd = ic->proto_data;
     339
     340        if (!pd) {
     341                return;
     342        }
    339343
    340344        purple_account_set_enabled(pd->account, "BitlBee", FALSE);
Note: See TracChangeset for help on using the changeset viewer.