sr: asix: Change a free() to g_free() as it should be.
This also fixes a compiler warning (on FreeBSD at least).
This commit is contained in:
parent
44b6aafdb7
commit
8c4b600393
|
@ -730,7 +730,7 @@ static void hw_cleanup(void)
|
||||||
for (l = device_instances; l; l = l->next) {
|
for (l = device_instances; l; l = l->next) {
|
||||||
sdi = l->data;
|
sdi = l->data;
|
||||||
if (sdi->priv != NULL)
|
if (sdi->priv != NULL)
|
||||||
free(sdi->priv);
|
g_free(sdi->priv);
|
||||||
sr_device_instance_free(sdi);
|
sr_device_instance_free(sdi);
|
||||||
}
|
}
|
||||||
g_slist_free(device_instances);
|
g_slist_free(device_instances);
|
||||||
|
|
Loading…
Reference in New Issue