diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-16 19:15:10 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-16 19:15:10 +0000 |
commit | 40ba2101c5b3c49379dd6997ceccf9256a7efe69 (patch) | |
tree | 54a455ffaf26bb6df993f58858af3393ef17975c /fitz/base_object.c | |
parent | eed68618a9f5e6f39bb1bad29103625def31115d (diff) | |
download | mupdf-40ba2101c5b3c49379dd6997ceccf9256a7efe69.tar.xz |
Fix another Memento_label warning.
Missed this one last time.
Diffstat (limited to 'fitz/base_object.c')
-rw-r--r-- | fitz/base_object.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fitz/base_object.c b/fitz/base_object.c index 5930b155..8464a971 100644 --- a/fitz/base_object.c +++ b/fitz/base_object.c @@ -388,8 +388,7 @@ fz_new_array(fz_context *ctx, int initialcap) fz_obj *obj; int i; - obj = fz_malloc(ctx, sizeof(fz_obj)); - Memento_label(obj, "fz_obj(array)"); + obj = Memento_label(fz_malloc(ctx, sizeof(fz_obj)), "fz_obj(array)"); obj->ctx = ctx; obj->refs = 1; obj->kind = FZ_ARRAY; |