mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4968 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
376d177b3c
commit
fbf2a1cb79
7 files changed
+72
-46
No files matched your search
@@ -182,10 +182,20 @@ iks_stack_stat (ikstack *s, size_t *allocated, size_t *used)
|
||||
}
|
||||
|
||||
void
|
||||
iks_stack_delete (ikstack *s)
|
||||
iks_stack_delete (ikstack **sp)
|
||||
{
|
||||
ikschunk *c, *tmp;
|
||||
ikstack *s;
|
||||
|
||||
if (!sp) {
|
||||
return;
|
||||
}
|
||||
|
||||
s = *sp;
|
||||
|
||||
if (!s) {
|
||||
return;
|
||||
}
|
||||
c = s->meta->next;
|
||||
while (c) {
|
||||
tmp = c->next;
|
||||
@@ -199,4 +209,5 @@ iks_stack_delete (ikstack *s)
|
||||
c = tmp;
|
||||
}
|
||||
iks_free (s);
|
||||
*sp = NULL;
|
||||
}
|
||||
Reference in new issue
Block a user