mirror of https://github.com/mpv-player/mpv
x11_common: drop unnecessary NULL check
similar to free(), XFree() is a no-op if argument is NULL
This commit is contained in:
parent
5d2d7cde8e
commit
331832f55d
|
@ -1426,8 +1426,6 @@ 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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue