(nbio) Fix leak

This commit is contained in:
Higor Eurípedes 2015-06-12 17:57:19 -03:00
parent 8fb9ce1b17
commit 91af356a31

View File

@ -199,4 +199,8 @@ void nbio_free(struct nbio_t* handle)
}
fclose(handle->f);
free(handle->data);
handle->f = NULL;
handle->data = NULL;
free(handle);
}