]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fclose.c
Almost done on tmpfile / tmpnam.
[pdclib] / functions / stdio / fclose.c
index 8a9301ae8c71cd91b206f67b4e0a17201d523707..dc27fe2eb1555a5e36bd7ceb513390d675baf415 100644 (file)
@@ -32,11 +32,6 @@ int fclose( struct _PDCLIB_file_t * stream )
                     return EOF;
                 }
             }
-            /* Free buffer */
-            if ( stream->status & _PDCLIB_LIBBUFFER )
-            {
-                free( stream->buffer );
-            }
             /* Close handle */
             _PDCLIB_close( stream->handle );
             /* Remove stream from list */