mirror of
https://github.com/systemd/systemd.git
synced 2025-02-18 21:57:48 +03:00
libudev: add one more assertion
This commit is contained in:
parent
65c637ad2c
commit
ecf83c2429
@ -73,6 +73,7 @@ struct udev_list_entry *udev_list_entry_add(struct udev_list *list, const char *
|
||||
_cleanup_free_ char *name = NULL, *value = NULL;
|
||||
|
||||
assert(list);
|
||||
assert(_name);
|
||||
|
||||
name = strdup(_name);
|
||||
if (!name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user