diff options
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r-- | udev/udev-rules.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 19ee06d379..55e27b7bca 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -1970,6 +1970,7 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event count = util_replace_chars(name_str, ALLOWED_CHARS_FILE); if (count > 0) info(event->udev, "%i character(s) replaced\n", count); + free(event->name); event->name = strdup(name_str); } break; |