summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_io_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/libgd/gd_io_file.c')
-rw-r--r--ext/gd/libgd/gd_io_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/libgd/gd_io_file.c b/ext/gd/libgd/gd_io_file.c
index d0efd1af79..713646120e 100644
--- a/ext/gd/libgd/gd_io_file.c
+++ b/ext/gd/libgd/gd_io_file.c
@@ -71,7 +71,7 @@ gdNewFileCtx (FILE * f)
ctx->ctx.tell = fileTell;
ctx->ctx.seek = fileSeek;
- ctx->ctx.free = gdFreeFileCtx;
+ ctx->ctx.gd_free = gdFreeFileCtx;
return (gdIOCtx *) ctx;
}