From 592aec2b6179a085904ec131f02370f2026c8024 Mon Sep 17 00:00:00 2001 From: jewelcodes Date: Wed, 27 Nov 2024 23:11:33 -0500 Subject: [PATCH] io: allow descriptor drivers to free their own memory --- src/io.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/io.c b/src/io.c index 21ed087..86ee323 100644 --- a/src/io.c +++ b/src/io.c @@ -60,7 +60,6 @@ void closeIO(void *pv, void *iodv) { if(iod->valid) { iod->valid = false; - if(iod->data) free(iod->data); iod->data = NULL; p->iodCount--;