X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffclose.c;h=456acc171656a015487466a57eb9a1d8c0ddd7a5;hb=1124828eaa466bef1aef1c7feaa9db62358a7765;hp=5c1e4d44d96c0b44e44a990468f25b32c3159769;hpb=45a3470b02e2a4cf283d7d3a58bcc74a78748309;p=pdclib.old diff --git a/functions/stdio/fclose.c b/functions/stdio/fclose.c index 5c1e4d4..456acc1 100644 --- a/functions/stdio/fclose.c +++ b/functions/stdio/fclose.c @@ -49,7 +49,7 @@ int fclose( struct _PDCLIB_file_t * stream ) remove( stream->filename ); } /* Free stream */ - if ( ! stream->status & _PDCLIB_STATIC ) + if ( ! ( stream->status & _PDCLIB_STATIC ) ) { free( stream ); }