Show
Ignore:
Timestamp:
10/24/10 13:47:35 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1287928055 +0000
git-parent:

[1e1b047bf8bca4cc98485314028143b8cb7a22fe]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1287928055 +0000
Message:

protect against null completion, refs #322

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_datastore.c

    r055f5ef r571cfa4  
    11921192 
    11931193  if((mask & EVENTER_ASYNCH) == EVENTER_ASYNCH) { 
    1194     eventer_add(syncset->completion); 
    1195     eventer_trigger(syncset->completion, EVENTER_READ | EVENTER_WRITE); 
     1194    if(syncset->completion) { 
     1195      eventer_add(syncset->completion); 
     1196      eventer_trigger(syncset->completion, EVENTER_READ | EVENTER_WRITE); 
     1197    } 
    11961198    free(syncset); 
    11971199    return 0; 
  • src/stratcon_iep.c

    r5c038ab r571cfa4  
    422422 
    423423  if(op == DS_OP_CHKPT) { 
    424     eventer_add(completion); 
     424    if(completion) eventer_add(completion); 
    425425    return; 
    426426  }