summaryrefslogtreecommitdiff
path: root/object/simple.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-11-11 07:52:33 +0100
committerTor Andersson <tor@ghostscript.com>2004-11-11 07:52:33 +0100
commit1be84ed1d4fbe44387222995a124a4f84ee55210 (patch)
tree4748ea9933e543fbde652857444b416cc16361d0 /object/simple.c
parent58de1fff510078e3d2d8cfce033c87299adf78f0 (diff)
downloadmupdf-1be84ed1d4fbe44387222995a124a4f84ee55210.tar.xz
fitz tree resource reference counting
Diffstat (limited to 'object/simple.c')
-rw-r--r--object/simple.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/object/simple.c b/object/simple.c
index b06c77d7..0755a795 100644
--- a/object/simple.c
+++ b/object/simple.c
@@ -82,7 +82,7 @@ fz_keepobj(fz_obj *o)
return o;
}
-fz_obj *
+void
fz_dropobj(fz_obj *o)
{
if (--o->nrefs == 0)
@@ -94,7 +94,6 @@ fz_dropobj(fz_obj *o)
else
fz_free(o);
}
- return nil;
}
int