bearer-mbim: pass the right GError pointer to response parsers

This commit is contained in:
Ben Chan
2014-06-05 23:20:45 -07:00
committed by Aleksander Morgado
parent aedcb376a8
commit af810a0a87

View File

@@ -568,7 +568,7 @@ packet_service_set_ready (MbimDevice *device,
&highest_available_data_class, &highest_available_data_class,
&uplink_speed, &uplink_speed,
&downlink_speed, &downlink_speed,
&error)) { &inner_error)) {
if (nw_error) { if (nw_error) {
if (error) if (error)
g_error_free (error); g_error_free (error);
@@ -963,7 +963,7 @@ disconnect_set_ready (MbimDevice *device,
NULL, /* ip_type */ NULL, /* ip_type */
NULL, /* context_type */ NULL, /* context_type */
&nw_error, &nw_error,
&error)) { &inner_error)) {
if (nw_error) { if (nw_error) {
if (error) if (error)
g_error_free (error); g_error_free (error);