Skip to content

device: Free temporary typename with iface variable

To create a disambiguated name for some Bluetooth devices we use its type name with iface, however this value is allocated but never free'd when passed to g_strdup_printf.

So use instead a temporary variable and free it once done.

Merge request reports