summaryrefslogtreecommitdiff
path: root/ext/gd/gd_ctx.c
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-05-03 13:53:55 +0200
committerRemi Collet <remi@php.net>2013-05-04 16:50:06 +0200
commit8a90aad35b3647a104458d5af4dcb315b9e8d80c (patch)
tree4b81f4ddbdaa62ddf5245932bc03e004854c5925 /ext/gd/gd_ctx.c
parent2fc17d83cb8e1adb95542c6c18a698082a7f687c (diff)
downloadphp-git-8a90aad35b3647a104458d5af4dcb315b9e8d80c.tar.gz
Required GD >= 2.1.0 or GD bundled, this allows us to remove most of the #ifdef
Diffstat (limited to 'ext/gd/gd_ctx.c')
-rw-r--r--ext/gd/gd_ctx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/gd/gd_ctx.c b/ext/gd/gd_ctx.c
index b0e8aa66ab..2a0b500e9e 100644
--- a/ext/gd/gd_ctx.c
+++ b/ext/gd/gd_ctx.c
@@ -189,11 +189,7 @@ static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type,
break;
}
-#if HAVE_LIBGD204
ctx->gd_free(ctx);
-#else
- ctx->free(ctx);
-#endif
RETURN_TRUE;
}