This function is declared in the kos/queue.h file.
kos/queue.h
void KosQueueDestroy(KosQueueHandle queue);
This function deletes the specified queue and frees its allocated buffer.
queue