iface-modem-firmware: remove explicit GDestroyNotify cast on g_free
g_free is in form of `void (*)(gpointer)`, which matches the GDestroyNotify signature. An explicit GDestroyNotify cast on g_free is thus not needed.
This commit is contained in:
@@ -348,7 +348,7 @@ add_generic_device_ids (MMBaseModem *self,
|
||||
|
||||
mm_iface_modem_get_carrier_config (MM_IFACE_MODEM (self), &aux, NULL);
|
||||
|
||||
ids = g_ptr_array_new_with_free_func ((GDestroyNotify)g_free);
|
||||
ids = g_ptr_array_new_with_free_func (g_free);
|
||||
if (aux) {
|
||||
gchar *carrier;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user