authorgravatar for shawn@git.icuShawn Landden <shawn@git.icu> 2019-04-02 11:24:09-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-04-02 12:27:14-04:00
log27e31f04758d95cb7cf51a74e2a3903553ce3bc5
treea230a5e6526f2e02e6ab20d149ddb3c9757008ce
parent3c27d9c25a836a3d28f05509a7a77cb33d428dbd

fix fd leak in stage1 cacheing code


1 files changed, 1 insertions(+), 0 deletions(-)

src/cache_hash.cpp+1
...@@ -437,6 +437,7 @@ Error cache_hit(CacheHash *ch, Buf *out_digest) {...@@ -437,6 +437,7 @@ Error cache_hit(CacheHash *ch, Buf *out_digest) {
437 return ErrorCacheUnavailable;437 return ErrorCacheUnavailable;
438 }438 }
439 }439 }
440 os_file_close(ch->manifest_file);
440 return return_code;441 return return_code;
441 }442 }
442 // Cache Hit443 // Cache Hit