diff options
Diffstat (limited to 'fitz/res_path.c')
-rw-r--r-- | fitz/res_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_path.c b/fitz/res_path.c index cea720e9..894e25a8 100644 --- a/fitz/res_path.c +++ b/fitz/res_path.c @@ -19,7 +19,7 @@ fz_clone_path(fz_context *ctx, fz_path *old) { fz_path *path; - assert(old != NULL); + assert(old); path = fz_malloc(ctx, sizeof(fz_path)); path->len = old->len; path->cap = old->len; |