From 0d43d269ede949fac1e4b5bb125514a240ec3efe Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 29 Nov 2016 16:22:54 -0500 Subject: serialhdl: Fully deallocate serialqueue on disconnect Signed-off-by: Kevin O'Connor --- klippy/serialqueue.h | 1 + 1 file changed, 1 insertion(+) (limited to 'klippy/serialqueue.h') diff --git a/klippy/serialqueue.h b/klippy/serialqueue.h index 80ecd9c5..2a95dc14 100644 --- a/klippy/serialqueue.h +++ b/klippy/serialqueue.h @@ -45,6 +45,7 @@ struct pull_queue_message { struct serialqueue; struct serialqueue *serialqueue_alloc(int serial_fd, int write_only); void serialqueue_exit(struct serialqueue *sq); +void serialqueue_free(struct serialqueue *sq); struct command_queue *serialqueue_alloc_commandqueue(void); void serialqueue_send_batch(struct serialqueue *sq, struct command_queue *cq , struct list_head *msgs); -- cgit v1.2.3-70-g09d2