platform/posix.c
changeset 429 72ca216c756a
parent 362 ac8c846a0a66
child 467 99664d9842cb
--- a/platform/posix.c	Mon Jul 29 06:18:25 2002 +0000
+++ b/platform/posix.c	Mon Jul 29 06:18:58 2002 +0000
@@ -471,6 +471,7 @@
 {
     int fd = *((int *) opaque);
     BAIL_IF_MACRO(close(fd) == -1, strerror(errno), 0);
+    free(opaque);
     return(1);
 } /* __PHYSFS_platformClose */