summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/opengl/video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 1f053d4fc1..c93bb67599 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -649,6 +649,8 @@ static bool gl_video_get_lut3d(struct gl_video *p, enum mp_csp_prim prim,
debug_check_gl(p, "after 3d lut creation");
+ talloc_free(lut3d);
+
return true;
}