summaryrefslogtreecommitdiff
path: root/tests/spec/arb_copy_image/targets.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/arb_copy_image/targets.c')
-rw-r--r--tests/spec/arb_copy_image/targets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/spec/arb_copy_image/targets.c b/tests/spec/arb_copy_image/targets.c
index aea0e9617..3bd6630ed 100644
--- a/tests/spec/arb_copy_image/targets.c
+++ b/tests/spec/arb_copy_image/targets.c
@@ -182,6 +182,8 @@ image_fill(struct image *img, const float *bg_color, const float *fg_color,
default:
assert(!"Invalid target");
}
+
+ free(img_data);
}
static void