aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-common.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-23 15:52:31 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-05-23 18:00:03 +0200
commita12be165d14083c11d9f8f916b1dd82ae3cf9e21 (patch)
tree3d233be9de4b2c7e7dcf221b210907cdb51b6612 /cli/mmcli-common.c
parentd0a8911cf66b7a4f6a6209698bfabd69af1aa3f5 (diff)
libmm-glib,modem: avoid accessing an already freed GArray
We cannot g_array_unref() the GArray when get()-ing bands as that will clear the contents of the GArray, even if there are references around. Instead, just dup the array contents when returning.
Diffstat (limited to 'cli/mmcli-common.c')
0 files changed, 0 insertions, 0 deletions