diff options
Diffstat (limited to 'src/plugins/ublox/mm-plugin-ublox.c')
-rw-r--r-- | src/plugins/ublox/mm-plugin-ublox.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/ublox/mm-plugin-ublox.c b/src/plugins/ublox/mm-plugin-ublox.c index e606eba1..c88369de 100644 --- a/src/plugins/ublox/mm-plugin-ublox.c +++ b/src/plugins/ublox/mm-plugin-ublox.c @@ -151,10 +151,11 @@ quick_at_ready (MMPortSerialAt *port, { MMPortProbe *probe; g_autoptr(GError) error = NULL; + g_autofree gchar *response = NULL; probe = g_task_get_source_object (task); - mm_port_serial_at_command_finish (port, res, &error); + response = mm_port_serial_at_command_finish (port, res, &error); if (error) { /* On a timeout error, wait for READY URC */ if (g_error_matches (error, MM_SERIAL_ERROR, MM_SERIAL_ERROR_RESPONSE_TIMEOUT)) { |