diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index 03a0484738..d46590267f 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -907,6 +907,8 @@ static void draw_image(struct vo *vo, mp_image_t *mpi) mp_image_copy(&texmpi, mpi); SDL_UnlockTexture(vc->tex); + + talloc_free(mpi); } SDL_Rect src, dst;