Skip to content

Commit cfd818b

Browse files
committed
ra_gl: fix memory leak
1 parent 3338574 commit cfd818b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

video/out/opengl/ra_gl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@ static void compile_attach_shader(struct ra *ra, GLuint program,
777777
gl->GetTranslatedShaderSourceANGLE(shader, len, NULL, sstr);
778778
MP_DBG(ra, "Translated shader:\n");
779779
mp_log_source(ra->log, MSGL_DEBUG, sstr);
780+
talloc_free(sstr);
780781
}
781782
}
782783

0 commit comments

Comments
 (0)