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