From 7383e19a9dcc1013bbd3744d81327f6c17ede11b Mon Sep 17 00:00:00 2001 From: Maksym Borodin Date: Wed, 13 Nov 2013 11:36:12 +0100 Subject: [PATCH] api.c: Release io_data->ptr when releasing io_data in io_free() --- api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/api.c b/api.c index 5c44f184..7b7019f2 100644 --- a/api.c +++ b/api.c @@ -587,6 +587,7 @@ static void io_free() do { io_next = io_list->next; + free(io_list->io_data->ptr); free(io_list->io_data); free(io_list);