summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-06-03 20:03:49 +0200
committerwm4 <wm4@nowhere>2016-06-03 20:03:49 +0200
commit2d76c145c35955c827e401b86d1f55fd9fa8d893 (patch)
tree76f2b281b9b8b5a4068a2fadda1fd662be89e15e /video
parent645a0d779156069852f0b4cef4de60efd046d339 (diff)
downloadmpv-2d76c145c35955c827e401b86d1f55fd9fa8d893.tar.bz2
mpv-2d76c145c35955c827e401b86d1f55fd9fa8d893.tar.xz
vo_opengl: fix giant memory leaks with icc profiles
Well this was dumb.
Diffstat (limited to 'video')
-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;
}