aboutsummaryrefslogtreecommitdiff
path: root/src/mm-context.c
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-08-03 18:05:18 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-08-04 07:40:09 +0000
commit9e5e699227f43e3dd64933dc96508b88b1a76bba (patch)
tree825a2febf1df318571fde7d6e472202cd8060539 /src/mm-context.c
parentb91bf1e3a648080b00d6a2fde2b5798a658027eb (diff)
kernel-device-generic: Fix ptr_array_add_sysfs_attribute_link_basename
A pointer can not be used anymore after its ownership has been transfered using the g_steal_pointer function (pointer is nullified). In this function, g_steal_pointer() is used when inserting 'value' inside the array but can also be subsequently used when dumping 'value' to 'out_value' via g_strdup(). Fix that with simple reordering. Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Diffstat (limited to 'src/mm-context.c')
0 files changed, 0 insertions, 0 deletions