git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4968 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-04-18 16:10:46 +00:00
parent 376d177b3c
commit fbf2a1cb79
7 changed files with 72 additions and 46 deletions

View File

@@ -60,7 +60,7 @@ iks_new (const char *name)
if (!s) return NULL;
x = iks_new_within (name, s);
if (!x) {
iks_stack_delete (s);
iks_stack_delete (&s);
return NULL;
}
return x;
@@ -202,7 +202,7 @@ iks_hide (iks *x)
void
iks_delete (iks *x)
{
if (x) iks_stack_delete (x->s);
if (x) iks_stack_delete (&x->s);
}
/***** Node Traversing *****/