kopia lustrzana https://github.com/Hamlib/Hamlib
Fix potential null reference in dttsp.c
rodzic
ca8ed30f8f
commit
a4d9e61f5a
|
@ -660,7 +660,7 @@ int dttsp_cleanup(RIG *rig)
|
|||
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
||||
|
||||
if (priv->tuner)
|
||||
if (priv && priv->tuner)
|
||||
{
|
||||
rig_cleanup(priv->tuner);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue