diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-09 14:46:27 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-09 14:46:27 +0200 |
commit | c30e6e17469019c58bde8497989f9d51630082eb (patch) | |
tree | 643612071bcd50dbbaf44704adeb3256125f3d0c | |
parent | 1a3d161f820759cd9e6d0e80d7735facb364835d (diff) |
qmicli,loc: avoid using g_autofree in 1.24 branch
-rw-r--r-- | src/qmicli/qmicli-loc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qmicli/qmicli-loc.c b/src/qmicli/qmicli-loc.c index 149e70b..9dccb8a 100644 --- a/src/qmicli/qmicli-loc.c +++ b/src/qmicli/qmicli-loc.c @@ -489,10 +489,11 @@ position_report_received (QmiClientLoc *client, g_print (" time source: n/a\n"); if (qmi_indication_loc_position_report_output_get_sensor_data_usage (output, &sensor_data_usage, NULL)) { - g_autofree gchar *sensor_data_usage_str = NULL; + gchar *sensor_data_usage_str; sensor_data_usage_str = qmi_loc_sensor_data_usage_build_string_from_mask (sensor_data_usage); g_print (" sensor data usage: %s\n", sensor_data_usage_str); + g_free (sensor_data_usage_str); } else g_print (" sensor data usage: n/a\n"); |