1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 04:54:26 +00:00

api.c: Release io_data->ptr when releasing io_data in io_free()

This commit is contained in:
Maksym Borodin 2013-11-13 11:36:12 +01:00 committed by Noel Maersk
parent f1902fe6ac
commit 7383e19a9d

1
api.c
View File

@ -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);