OSSP CVS Repository

ossp - Check-in [3184]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3184
Date: 2003-Feb-09 20:57:22 (local)
2003-Feb-09 19:57:22 (UTC)
User:rse
Branch:
Comment: Fix memory leak.
Tickets:
Inspections:
Files:
ossp-pkg/sio/sio_fd.c      1.13 -> 1.14     2 inserted, 0 deleted

ossp-pkg/sio/sio_fd.c 1.13 -> 1.14

--- sio_fd.c     2003/01/06 19:04:56     1.13
+++ sio_fd.c     2003/02/09 19:57:22     1.14
@@ -111,6 +111,8 @@
 static
 sio_rc_t fd_cleanup(sio_t *sio, void *u)
 {
+    if (u != NULL)
+        free(u);
     return SIO_OK;
 }
 

CVSTrac 2.0.1