mirror of
https://github.com/csete/gpredict
synced 2026-08-13 17:39:46 -04:00
Avoid memory leak in rig-ctrl
This commit is contained in:
parent
4a63b479f9
commit
e78469bd8e
1 changed files with 2 additions and 2 deletions
|
|
@ -2212,7 +2212,7 @@ static gboolean get_freq_simplex(GtkRigCtrl * ctrl, gint sock, gdouble * freq)
|
|||
retval = FALSE;
|
||||
}
|
||||
|
||||
//g_free(buff);
|
||||
g_free(buff);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
@ -2254,7 +2254,7 @@ static gboolean get_freq_toggle(GtkRigCtrl * ctrl, gint sock, gdouble * freq)
|
|||
retval = FALSE;
|
||||
}
|
||||
|
||||
//g_free(buff);
|
||||
g_free(buff);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue