Ignore:
Timestamp:
May 3, 2013 9:07:43 AM (11 years ago)
Author:
nanang
Message:

Fix #1663: Fixed pj_ioqueue_register_sock2() to avoid access to uninitialized pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ioqueue_epoll.c

    r4434 r4514  
    441441on_return: 
    442442    if (rc != PJ_SUCCESS) { 
    443         if (key->grp_lock) 
     443        if (key && key->grp_lock) 
    444444            pj_grp_lock_dec_ref_dbg(key->grp_lock, "ioqueue", 0); 
    445445    } 
Note: See TracChangeset for help on using the changeset viewer.