Index: ossp-pkg/sio/sio_fd.c RCS File: /v/ossp/cvs/ossp-pkg/sio/sio_fd.c,v rcsdiff -q -kk '-r1.14' '-r1.15' -u '/v/ossp/cvs/ossp-pkg/sio/sio_fd.c,v' 2>/dev/null --- 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; } Index: ossp-pkg/sio/sio_sa.c RCS File: /v/ossp/cvs/ossp-pkg/sio/sio_sa.c,v rcsdiff -q -kk '-r1.8' '-r1.9' -u '/v/ossp/cvs/ossp-pkg/sio/sio_sa.c,v' 2>/dev/null --- sio_sa.c 2003/01/20 19:12:54 1.8 +++ sio_sa.c 2003/02/09 21:39:17 1.9 @@ -120,6 +120,10 @@ static sio_rc_t saw_cleanup(sio_t *sio, void *u) { + private_t *my = (private_t *)u; + + free(my); + return SIO_OK; }