Changeset 42b7fa5f


Ignore:
Timestamp:
Oct 29, 2021, 5:22:18 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
e58e423
Parents:
3f39009
Message:

Forgot to close file in non-link splice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/protocol.cfa

    r3f39009 r42b7fa5f  
    491491        #else
    492492                int ret = answer_header(fd, fsize);
    493                 if( ret < 0 ) return ret;
     493                if( ret < 0 ) { close(fd); return ret; }
    494494                return sendfile(pipe, fd, ans_fd, fsize);
    495495        #endif
Note: See TracChangeset for help on using the changeset viewer.