summaryrefslogtreecommitdiff
path: root/source/fitz/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/memory.c')
-rw-r--r--source/fitz/memory.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/fitz/memory.c b/source/fitz/memory.c
index ad5b69aa..09df7cda 100644
--- a/source/fitz/memory.c
+++ b/source/fitz/memory.c
@@ -212,16 +212,6 @@ fz_strdup(fz_context *ctx, const char *s)
return ns;
}
-char *
-fz_strdup_no_throw(fz_context *ctx, const char *s)
-{
- size_t len = strlen(s) + 1;
- char *ns = fz_malloc_no_throw(ctx, len);
- if (ns)
- memcpy(ns, s, len);
- return ns;
-}
-
static void *
fz_malloc_default(void *opaque, size_t size)
{