Page MenuHomePhabricator

eeze_net: fix a potentional memory leak case
ClosedPublic

Authored by akanad on Dec 22 2020, 10:38 PM.

Details

Summary

if net equals zero and device has allocated properly at the same time, memory leaks.
this patch fixes it.

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.
akanad created this revision.Dec 22 2020, 10:38 PM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added: https://phab.enlightenment.org/w/maintainers_reviewers/

akanad requested review of this revision.Dec 22 2020, 10:38 PM
akanad updated this revision to Diff 31325.Dec 22 2020, 10:47 PM
akanad edited the summary of this revision. (Show Details)
akanad added reviewers: Hermet, bu5hm4n.

edit summary

vtorri added a subscriber: vtorri.

seems good to me

Hermet accepted this revision.Dec 23 2020, 6:43 PM
This revision is now accepted and ready to land.Dec 23 2020, 6:43 PM
This revision was automatically updated to reflect the committed changes.