diff options
Diffstat (limited to 'fitz/base_context.c')
-rw-r--r-- | fitz/base_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_context.c b/fitz/base_context.c index 0eacd6eb..3d9df6aa 100644 --- a/fitz/base_context.c +++ b/fitz/base_context.c @@ -11,7 +11,7 @@ fz_obj *(*fz_resolve_indirect)(fz_obj*) = fz_resolve_indirect_null; void fz_free_context(fz_context *ctx) { - if (ctx == NULL) + if (!ctx) return; /* Other finalisation calls go here (in reverse order) */ |