aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-common.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-10-20 17:47:54 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-10-20 17:56:36 +0200
commitadcce66dd7b676e4cc7bf71b63588e746f51dc14 (patch)
tree6cdd46aaa2cf7b8e2463e6d5fd6d5b24e2a569bf /cli/mmcli-common.c
parentdbb4597e335d66dda7abebbab7d70b0708146350 (diff)
broadband-modem-qmi: avoid NULL success return in firmware_load_current
Instead of assuming that NULL is a valid return, make sure we return an error instead. This also makes it sure that if the GTask gets cancelled, the result we set is always a valid GObject, so that the g_object_unref passed as GDestroyNotify can be safely called always. Not a big deal anyway, as the GTask cannot be currently cancelled.
Diffstat (limited to 'cli/mmcli-common.c')
0 files changed, 0 insertions, 0 deletions