eina_test_binbuf: Fix memory leak

Summary:
Coverity reports that we leak 'test_buf' here so add eina_binbuf_free
to plug the leak

Fixes CID1401004

@fix
Depends on D8764

Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8765
This commit is contained in:
Christopher Michael 2019-05-02 13:44:22 +02:00 committed by Xavi Artigas
parent cf2071744c
commit ae61295e9a
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ EFL_START_TEST(binbuf_simple)
eina_binbuf_reset(buf);
fail_if(eina_binbuf_length_get(buf) != 0);
eina_binbuf_free(test_buf);
eina_binbuf_free(buf);
#undef TEXT