sd-device: use trivial_hash_ops_free_free for managing match sysattrs or properties
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 Oct 2020 13:41:34 +0000 (22:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 Oct 2020 13:45:15 +0000 (22:45 +0900)
commita0887abbd8bd9f1a9a975af08e6b4a43960bb3e2
treed4586c3fa0983c0712dae65530ceefc4fd23a02b
parent5e71868ced159355a25dc935b24c8e9b1d946bd7
sd-device: use trivial_hash_ops_free_free for managing match sysattrs or properties

This fixes an issue caused by eb1c1dc029c91750e6255c3fd844b4f4bf238fab.

Before the commit, multiple values can be specified for the same
sysattr or property.

Fixes #17259.
src/libsystemd/sd-device/device-enumerator.c