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:
Uwe Hermann 2012-02-11 00:38:48 +01:00
parent 44b6aafdb7
commit 8c4b600393
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ static void hw_cleanup(void)
for (l = device_instances; l; l = l->next) {
sdi = l->data;
if (sdi->priv != NULL)
free(sdi->priv);
g_free(sdi->priv);
sr_device_instance_free(sdi);
}
g_slist_free(device_instances);