kopia lustrzana https://github.com/Hamlib/Hamlib
Fix potential null reference in dttsp.c
rodzic
a4d9e61f5a
commit
17a37be2c2
|
@ -342,7 +342,7 @@ int dwtdll_cleanup(RIG *rig)
|
||||||
struct dwtdll_priv_data *priv = (struct dwtdll_priv_data *)rig->state.priv;
|
struct dwtdll_priv_data *priv = (struct dwtdll_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