diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-10-13 00:35:49 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-10-13 00:35:53 +0900 |
commit | f4f6f2c7400b1a525d7c0c57b12f76f9dfdc4f0d (patch) | |
tree | 2ccbfc468ea06815d76ba0e2ed1fa960b68ef7a9 /src/udev | |
parent | 349176ae6c095725ddc11599dd03c7f16a5bb099 (diff) | |
download | systemd-f4f6f2c7400b1a525d7c0c57b12f76f9dfdc4f0d.tar.gz |
udev: fix memleak caused by wrong cleanup function
Fixes #13764.
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index efea16e5c5..b09caeb7f9 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -2325,7 +2325,7 @@ static int apply_static_dev_perms(const char *devnode, uid_t uid, gid_t gid, mod static int udev_rule_line_apply_static_dev_perms(UdevRuleLine *rule_line) { UdevRuleToken *token; - _cleanup_free_ char **tags = NULL; + _cleanup_strv_free_ char **tags = NULL; uid_t uid = UID_INVALID; gid_t gid = GID_INVALID; mode_t mode = MODE_INVALID; |