Commit 752043de authored by Jean-Paul Saman's avatar Jean-Paul Saman

src/xvba_video_glx.c: Do not leak msg on displayed picture.

parent 5de589cb
...@@ -247,10 +247,10 @@ static void *render_thread(void *arg) ...@@ -247,10 +247,10 @@ static void *render_thread(void *arg)
msg->flags msg->flags
); );
glx_output_surface_unlock(obj_output); glx_output_surface_unlock(obj_output);
free(msg);
num_surfaces++; num_surfaces++;
break; break;
} }
free(msg);
} }
gl_destroy_context(obj_output->render_context); gl_destroy_context(obj_output->render_context);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment