forked from enlightenment/efl
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:
parent
ae1f7c503e
commit
de54df1f0a
|
@ -31,7 +31,7 @@ _slstr_steal(void)
|
||||||
{
|
{
|
||||||
char *local = strdup("Hello world 2");
|
char *local = strdup("Hello world 2");
|
||||||
|
|
||||||
return eina_slstr_copy_new(local);
|
return eina_slstr_steal_new(local);
|
||||||
}
|
}
|
||||||
|
|
||||||
EFL_START_TEST(slstr_steal)
|
EFL_START_TEST(slstr_steal)
|
||||||
|
|
Loading…
Reference in New Issue