diff options
Diffstat (limited to 'src/udev/udevadm-hwdb.c')
-rw-r--r-- | src/udev/udevadm-hwdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-hwdb.c b/src/udev/udevadm-hwdb.c index 8f5b1cb7a1..aa590d550f 100644 --- a/src/udev/udevadm-hwdb.c +++ b/src/udev/udevadm-hwdb.c @@ -304,7 +304,7 @@ static int64_t trie_store_nodes(struct trie_f *trie, struct trie_node *node) { child_off = trie_store_nodes(trie, node->children[i].child); if (child_off < 0) { - free(children); /* clang reported memleak , children is thrown away if this fails */ + free(children); return child_off; } children[i].c = node->children[i].c; |