diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 7ce974d5ce..7289b51c2f 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -1426,9 +1426,7 @@ static void vo_x11_set_property_string(struct vo *vo, Atom name, const char *t) // can do this correctly. vo_x11_set_property_utf8(vo, name, t); } - - if (prop.value) - XFree(prop.value); + XFree(prop.value); } static void vo_x11_update_window_title(struct vo *vo)