Changeset 222a9737db8ea7fefdf3ee212cae3e505459add2

Show
Ignore:
Timestamp:
08/12/08 02:09:28 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1218506968 +0000
git-parent:

[a6c0875f1e96a54710d7016a79d0edf5f6594441]

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

this was reading freed memory, refs #51

Files:

Legend:

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

    ra6c0875 r222a973  
    464464    } 
    465465    if(current->completion_event) { 
     466      ds_job_detail *save_next; 
    466467      if(last_sp) RELEASE_SAVEPOINT("batch"); 
    467468      if(stratcon_datastore_do(cq, "COMMIT")) BUSTED(cq); 
    468469      eventer_add(current->completion_event); 
    469       __remove_until(cq, current->next); 
    470470      current = current->next; 
     471      __remove_until(cq, current); 
    471472    } 
    472473  }