From: Owen Shepherd Date: Tue, 7 Oct 2014 22:22:27 +0000 (+0100) Subject: PDCLIB-27 #resolve fixed X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=35d48051496adf237dcd22ff1324e93b6f351284 PDCLIB-27 #resolve fixed --- diff --git a/functions/stdio/fclose.c b/functions/stdio/fclose.c index bc8d852..37349c0 100644 --- a/functions/stdio/fclose.c +++ b/functions/stdio/fclose.c @@ -56,7 +56,7 @@ int fclose( FILE * stream ) remove( stream->filename ); } /* Free user buffer (SetVBuf allocated) */ - if ( ! ( stream->status & _PDCLIB_FREEBUFFER ) ) + if ( stream->status & _PDCLIB_FREEBUFFER ) { free( stream->buffer ); }