src/gui/upnpbrowser.cpp fix segfault on connect error

This commit is contained in:
Jacek Jendrzej
2017-05-02 13:08:06 +02:00
parent 1e4967e114
commit cc0f0cd951

View File

@@ -731,7 +731,7 @@ bool CUpnpBrowserGui::selectItem(std::string id)
if (!getItems(id, liststart, entries, total)) if (!getItems(id, liststart, entries, total))
return endall; return endall;
while (loop) { while (loop && entries!=NULL) {
updateTimes(); updateTimes();
updateMode(); updateMode();