Fix leak in get_interface_type as caught by cppcheck.
svn path=/trunk/; revision=45543
This commit is contained in:
parent
90584f4655
commit
a892d9486d
@ -422,6 +422,7 @@ get_interface_type(gchar *name, gchar *description)
|
|||||||
g_free(wireless_path);
|
g_free(wireless_path);
|
||||||
return IF_WIRELESS;
|
return IF_WIRELESS;
|
||||||
}
|
}
|
||||||
|
g_free(wireless_path);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Bluetooth devices.
|
* Bluetooth devices.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user