Page MenuHomePhabricator

evas_test_image: Fix resource leak
ClosedPublic

Authored by devilhorns on Apr 29 2019, 8:23 AM.

Details

Summary

Coverity reports that we leak variable 'f' going out of scope here, so
if we are going to exit the test, lets close the file before we do

Fixes CID1400945

@fix
Depends on D8770

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
devilhorns created this revision.Apr 29 2019, 8:23 AM
devilhorns requested review of this revision.Apr 29 2019, 8:23 AM
segfaultxavi accepted this revision.May 2 2019, 3:45 AM
segfaultxavi added a subscriber: segfaultxavi.

Builds, passes tests and makes sense.

This revision is now accepted and ready to land.May 2 2019, 3:45 AM
This revision was automatically updated to reflect the committed changes.