Changeset 2b0c05c


Ignore:
Timestamp:
2015-10-21T09:50:08Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
09f7ec1
Parents:
72d661e
Message:

yahoo: call callback on connect error to fix memleak

Passing NULL as the "fd" and 0 as the error. The callback is
yahoo_connected() in libyahoo2.c, and with those parameters all it does
is freeing the data parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/yahoo/yahoo.c

    r72d661e r2b0c05c  
    448448
    449449        if (source == -1) {
     450                d->callback(NULL, 0, d->data);
    450451                imcb_error(ic, "Could not connect to server");
    451452                imc_logout(ic, TRUE);
Note: See TracChangeset for help on using the changeset viewer.