diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-11 07:15:07 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-11 07:15:07 +0100 |
commit | 58de1fff510078e3d2d8cfce033c87299adf78f0 (patch) | |
tree | 80635049b0d1ccc8840717982afe983ea18c0b37 /object/array.c | |
parent | 2ec725624d637789845478a90f799e9eeb54f9ee (diff) | |
download | mupdf-58de1fff510078e3d2d8cfce033c87299adf78f0.tar.xz |
filter reference counting
Diffstat (limited to 'object/array.c')
-rw-r--r-- | object/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/object/array.c b/object/array.c index c57f3952..78e50963 100644 --- a/object/array.c +++ b/object/array.c @@ -11,8 +11,8 @@ fz_newarray(fz_obj **op, int initialcap) obj = *op = fz_malloc(sizeof (fz_obj)); if (!obj) return fz_outofmem; + obj->nrefs = 1; obj->kind = FZ_ARRAY; - obj->refcount = 1; obj->u.a.len = 0; obj->u.a.cap = initialcap > 0 ? initialcap : 6; |