diff --git a/libs/iksemel/test/tst-ikstack.c b/libs/iksemel/test/tst-ikstack.c index 9e8459f439..1a761ad708 100644 --- a/libs/iksemel/test/tst-ikstack.c +++ b/libs/iksemel/test/tst-ikstack.c @@ -40,7 +40,7 @@ test_stack (int cs) printf ("ikstack strcat bug:\nExpected: %s\n Result: %s\n", buf, old); exit (1); } - iks_stack_delete (s); + iks_stack_delete (&s); } int main (int argc, char *argv[]) diff --git a/libs/iksemel/test/tst-jid.c b/libs/iksemel/test/tst-jid.c index 66406c79ee..a3899db976 100644 --- a/libs/iksemel/test/tst-jid.c +++ b/libs/iksemel/test/tst-jid.c @@ -57,7 +57,7 @@ int main (int argc, char *argv[]) test_cmp ("patrician@morpork.gov/gabber", "cohen@guild.org/gsm", IKS_ID_FULL, IKS_ID_FULL); test_cmp ("peter@family.com", "peter@family.com/clam", IKS_ID_PARTIAL, 0); - iks_stack_delete (my_stack); + iks_stack_delete (&my_stack); return 0; }