summaryrefslogtreecommitdiff
path: root/examples/copyrotated.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/copyrotated.c')
-rw-r--r--examples/copyrotated.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/copyrotated.c b/examples/copyrotated.c
index e4578b1..8bfdac2 100644
--- a/examples/copyrotated.c
+++ b/examples/copyrotated.c
@@ -12,7 +12,6 @@ gdImagePtr loadImage(const char *name)
fp = fopen(name, "rb");
if (!fp) {
fprintf(stderr, "Can't open jpeg file\n");
- gdImageDestroy(im);
return NULL;
}