mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-15 08:39:08 -05:00
Fixed crash (NULL pointer access) in RsGUIEventManager::async_handleIncomingEvent with activated plugins
This commit is contained in:
parent
01cdbe68d9
commit
573b46b19d
1 changed files with 4 additions and 1 deletions
|
|
@ -398,7 +398,10 @@ void RsGUIEventManager::async_handleIncomingEvent(std::shared_ptr<const RsEvent>
|
||||||
if (rsPlugin) {
|
if (rsPlugin) {
|
||||||
ToasterNotify *toasterNotify = rsPlugin->qt_toasterNotify();
|
ToasterNotify *toasterNotify = rsPlugin->qt_toasterNotify();
|
||||||
if (toasterNotify) {
|
if (toasterNotify) {
|
||||||
insertToaster(toasterNotify->toasterItem());
|
ToasterItem *toasterItem = toasterNotify->toasterItem();
|
||||||
|
if (toasterItem) {
|
||||||
|
insertToaster(toasterItem);
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue