Changeset a8873762090bb246462d6fde35456c82ca251b9e

Show
Ignore:
Timestamp:
06/06/08 03:41:54 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1212723714 +0000
git-parent:

[a2b666a8ab8d7131bde0c3d600c5f4b8d7fa2709]

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

don't reference something that is free, refs #28

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/lua.c

    ra2b666a ra887376  
    5656  eventer_t *value = ev; 
    5757  eventer_t e = *value; 
     58  noitL(nldeb, "lua check cleanup: dropping (%p)->fd (%d)\n", e, e->fd); 
    5859  if(e->fd >= 0) e->opset->close(e->fd, &mask, e); 
    5960  if(e->mask && eventer_remove(e)) eventer_free(e); 
    60   if(!e->mask) eventer_free(e); 
     61  else if(!e->mask) eventer_free(e); 
    6162  free(ev); 
    6263}