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/chelper.py | 1 + 1 file changed, 1 insertion(+) (limited to 'klippy/chelper.py') diff --git a/klippy/chelper.py b/klippy/chelper.py index d12946be..bf7a1ab5 100644 --- a/klippy/chelper.py +++ b/klippy/chelper.py @@ -51,6 +51,7 @@ defs_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(struct serialqueue *sq, struct command_queue *cq , uint8_t *msg, int len, uint64_t min_clock, uint64_t req_clock); -- cgit v1.2.3-70-g09d2