diff options
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r-- | libvo/video_out.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index 73926c541e..7fd2fb21af 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -364,6 +364,7 @@ struct vo *init_best_video_out(struct MPOpts *opts, struct vo_x11_state *x11, free(name); return vo; // success! } + talloc_free_children(vo); } } // continue... @@ -380,6 +381,7 @@ struct vo *init_best_video_out(struct MPOpts *opts, struct vo_x11_state *x11, vo->driver = video_driver; if (!vo_preinit(vo, vo_subdevice)) return vo; // success! + talloc_free_children(vo); } free(vo); return NULL; |