ossp-pkg/sio/sio_fd.c 1.14 -> 1.15
--- sio_fd.c 2003/02/09 19:57:22 1.14
+++ sio_fd.c 2003/02/09 21:39:17 1.15
@@ -111,8 +111,10 @@
static
sio_rc_t fd_cleanup(sio_t *sio, void *u)
{
- if (u != NULL)
- free(u);
+ private_t *my = (private_t *)u;
+
+ free(my);
+
return SIO_OK;
}
|
|