summaryrefslogtreecommitdiff
path: root/source/fitz/link.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-01-20 16:42:29 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-02-17 16:36:10 +0100
commit681039767f2ccc72e236246178893eb0989169c9 (patch)
tree2eccad54c5b5bc964335dc97fe5b0fec8449d16e /source/fitz/link.c
parent76a09166ddbe5b741f54f0fd203f2135e5b532c3 (diff)
downloadmupdf-681039767f2ccc72e236246178893eb0989169c9.tar.xz
Rename fz_close_* and fz_free_* to fz_drop_*.
Rename fz_close to fz_drop_stream. Rename fz_close_archive to fz_drop_archive. Rename fz_close_output to fz_drop_output. Rename fz_free_* to fz_drop_*. Rename pdf_free_* to pdf_drop_*. Rename xps_free_* to xps_drop_*.
Diffstat (limited to 'source/fitz/link.c')
-rw-r--r--source/fitz/link.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/fitz/link.c b/source/fitz/link.c
index 30dca222..152d48ea 100644
--- a/source/fitz/link.c
+++ b/source/fitz/link.c
@@ -1,7 +1,7 @@
#include "mupdf/fitz.h"
void
-fz_free_link_dest(fz_context *ctx, fz_link_dest *dest)
+fz_drop_link_dest(fz_context *ctx, fz_link_dest *dest)
{
switch (dest->kind)
{
@@ -35,7 +35,7 @@ fz_new_link(fz_context *ctx, const fz_rect *bbox, fz_link_dest dest)
}
fz_catch(ctx)
{
- fz_free_link_dest(ctx, &dest);
+ fz_drop_link_dest(ctx, &dest);
fz_rethrow(ctx);
}
link->dest = dest;
@@ -58,7 +58,7 @@ fz_drop_link(fz_context *ctx, fz_link *link)
while (link && --link->refs == 0)
{
fz_link *next = link->next;
- fz_free_link_dest(ctx, &link->dest);
+ fz_drop_link_dest(ctx, &link->dest);
fz_free(ctx, link);
link = next;
}