Page MenuHomePhabricator

eina_test_file: Fix resource leak
ClosedPublic

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

Details

Summary

Coverity reports that we leak 'path' here, so free the returned string

Fixes CID1400926

@fix
Depends on D8771

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
segfaultxavi accepted this revision.May 2 2019, 3:47 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:47 AM
This revision was automatically updated to reflect the committed changes.