kopia lustrzana https://github.com/Hamlib/Hamlib
Fix potential null reference in dttsp.c
rodzic
d475dc81a3
commit
b79fdc0587
|
@ -272,7 +272,7 @@ int g3_cleanup(RIG *rig)
|
||||||
struct g3_priv_data *priv = (struct g3_priv_data *)rig->state.priv;
|
struct g3_priv_data *priv = (struct g3_priv_data *)rig->state.priv;
|
||||||
|
|
||||||
/* Clean up the dll access */
|
/* Clean up the dll access */
|
||||||
FreeLibrary(priv->dll);
|
if (priv) FreeLibrary(priv->dll);
|
||||||
|
|
||||||
if (rig->state.priv)
|
if (rig->state.priv)
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue