OSSP CVS Repository

ossp - Difference in ossp-pkg/sio/sio_fd.c versions 1.14 and 1.15
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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;
 }
 

CVSTrac 2.0.1