tests/eina: use slstr_steal function in slstr_steal test

Summary: CID 1401043

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10404
This commit is contained in:
Mike Blumenkrantz 2019-10-24 17:53:23 +02:00
parent ae1f7c503e
commit de54df1f0a
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ _slstr_steal(void)
{
char *local = strdup("Hello world 2");
return eina_slstr_copy_new(local);
return eina_slstr_steal_new(local);
}
EFL_START_TEST(slstr_steal)