huawei: fix leaked string

This commit is contained in:
Aleksander Morgado
2014-01-26 19:56:58 +01:00
parent 48585c250b
commit fdba981f8e
@@ -1658,8 +1658,10 @@ huawei_ndisstat_changed (MMAtSerialPort *port,
mm_dbg ("Ignore invalid ^NDISSTAT unsolicited message: '%s' (error %s)",
str, error->message);
g_error_free (error);
g_free (str);
return;
}
g_free (str);
mm_dbg ("NDIS status: IPv4 %s, IPv6 %s",
ndisstat_result.ipv4_available ?