diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/udevadm-hwdb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/udev/udevadm-hwdb.c b/src/udev/udevadm-hwdb.c index f5fd7e21f2..8f5b1cb7a1 100644 --- a/src/udev/udevadm-hwdb.c +++ b/src/udev/udevadm-hwdb.c @@ -207,7 +207,6 @@ static int trie_insert(struct trie *trie, struct trie_node *node, const char *se return -ENOMEM; off = strbuf_add_string(trie->strings, s, p); - free(s); /* fix clang-reported potential memleak */ if (off < 0) return off; |