OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid_prng.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid_prng.c 1.2 -> 1.3

--- uuid_prng.c  2004/01/18 19:22:54     1.2
+++ uuid_prng.c  2004/02/04 06:24:28     1.3
@@ -124,6 +124,10 @@
     if (prng == NULL)
         return PRNG_RC_ARG;
 
+    /* close PRNG device */
+    if (prng->devfd != -1)
+        close(prng->devfd);
+
     /* free object */
     free(prng);
 

CVSTrac 2.0.1