input/last: add nullptr check to Open(), fixes assertion failure
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1168
This commit is contained in:
parent
f2e4529707
commit
0e49de867d
1
NEWS
1
NEWS
|
@ -1,4 +1,5 @@
|
|||
ver 0.22.8 (not yet released)
|
||||
* fix crash bug in "albumart" command (0.22.7 regression)
|
||||
|
||||
ver 0.22.7 (2021/05/19)
|
||||
* protocol
|
||||
|
|
|
@ -69,6 +69,7 @@ public:
|
|||
|
||||
is = open(new_uri, mutex);
|
||||
uri = std::forward<U>(new_uri);
|
||||
if (is)
|
||||
ScheduleClose();
|
||||
return is.get();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue