vo_sdl: fix glaring memory leak

Who knows when this broke?
This commit is contained in:
wm4 2015-06-25 09:55:24 +02:00
parent e4c5876f57
commit 0906f758d3
1 changed files with 2 additions and 0 deletions

View File

@ -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;