s/delete/free/g

This commit is contained in:
Murilo Pereira
2011-02-14 00:10:47 -02:00
parent e59d089b45
commit 417a8ca2b7
13 changed files with 48 additions and 48 deletions
+2 -2
View File
@@ -28,12 +28,12 @@ void initialize_stack(struct stack *stack) {
return;
}
void delete_stack(struct stack *stack) {
void free_stack(struct stack *stack) {
struct stack *tmp_stack;
while (stack) {
tmp_stack = stack->next;
delete_card(stack->card);
free_card(stack->card);
free(stack);
stack = tmp_stack;
}