added stack_free
This commit is contained in:
parent
90308911bf
commit
21429ea473
1 changed files with 3 additions and 0 deletions
3
stack.c
3
stack.c
|
@ -66,5 +66,8 @@ int main( int argc, char *argv[] ) {
|
|||
printf("%d\n",stack_pop(s));
|
||||
}
|
||||
|
||||
stack_free(s);
|
||||
s = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue