diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-07-11 09:37:36 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-07-11 09:37:36 -0400 |
commit | 87b69cb04556d5dacae2eb1a9f2122ce5f6a4620 (patch) | |
tree | 0873f65711ab93344afab5ab2f0a1f0170c4fb48 /src/udev/udevadm-hwdb.c | |
parent | 1fdae2bccb230be7223634d370e940ba5b4be011 (diff) |
src/udev/udevadm-hwdb.c: fix double freeeudev/v1.1
clang is stupid and I will never blindly trust it again.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/udevadm-hwdb.c')
-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; |