Skip to content
Snippets Groups Projects
Commit 16286ff9 authored by Juliano Souza Luz's avatar Juliano Souza Luz
Browse files

Update queue.c

parent 97029f97
No related branches found
No related tags found
1 merge request!5Draft: Resolve "Add queue_destroy"
#include "queue.h" #include "queue.h"
#include <stdlib.h>
void queue_destroy(queue *q) {
q->capacity = 0;
q->data = 0;
q->tail = 0;
free(q);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment