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
896f234b25
commit
fdb931fb6e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue