aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-messaging.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-06-24 15:40:21 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-06-24 15:51:04 +0200
commitdfeaec99ceb3ec5b6fd6ec7add1ce81978d68cfb (patch)
treec85f49b344ba0d305d9d919636109b83a635121c /cli/mmcli-modem-messaging.c
parent059f13ffd33d6cf8c981119dd40e63e7abc2fe59 (diff)
libmm-glib,messaging: avoid array cleanup in get_supported_storages()
If we return a reference to the internal array in ensure_internal_supported_storages() and then we free the array unconditionally in the caller, the next time we call it, the array would be valid, but it would be fully empty.
Diffstat (limited to 'cli/mmcli-modem-messaging.c')
0 files changed, 0 insertions, 0 deletions