Ignore:
Timestamp:
Oct 29, 2021, 5:22:18 PM (8 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
enum, forall-pointer-decay, master
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 r42b7fa5  
    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.