mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
weather: fix segfault
Origin commit data
------------------
Commit: 98ea3a2d71
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Origin message was:
------------------
- weather: fix segfault
This commit is contained in:
@@ -209,7 +209,7 @@ void CWeather::show(int x, int y)
|
||||
|
||||
void CWeather::hide()
|
||||
{
|
||||
if (form->isPainted())
|
||||
if (form && form->isPainted())
|
||||
{
|
||||
form->hide();
|
||||
delete form;
|
||||
|
Reference in New Issue
Block a user