This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] standalone fuzzer: close file after reading
AcceptedPublic

Authored by jzawadzki on Dec 6 2017, 1:52 PM.

Details

Reviewers
kcc
Summary

Add missing fclose() after fread() to avoid resource leak.

Diff Detail

Event Timeline

jzawadzki created this revision.Dec 6 2017, 1:52 PM
Herald added subscribers: Restricted Project, llvm-commits. ยท View Herald TranscriptDec 6 2017, 1:52 PM
kcc accepted this revision.Dec 6 2017, 1:54 PM
kcc added a subscriber: kcc.

LGTM, thanks!

This revision is now accepted and ready to land.Dec 6 2017, 1:54 PM