diff options
Diffstat (limited to 'fitz/stm_open.c')
-rw-r--r-- | fitz/stm_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/stm_open.c b/fitz/stm_open.c index 9f657f27..eade9788 100644 --- a/fitz/stm_open.c +++ b/fitz/stm_open.c @@ -41,7 +41,7 @@ fz_keep_stream(fz_stream *stm) void fz_close(fz_stream *stm) { - if (stm == NULL) + if (!stm) return; stm->refs --; if (stm->refs == 0) |