diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-08-03 18:05:18 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-08-04 07:40:09 +0000 |
commit | 9e5e699227f43e3dd64933dc96508b88b1a76bba (patch) | |
tree | 825a2febf1df318571fde7d6e472202cd8060539 /src/mm-port-net.h | |
parent | b91bf1e3a648080b00d6a2fde2b5798a658027eb (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-port-net.h')
0 files changed, 0 insertions, 0 deletions