summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-hwdb
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-16 17:05:42 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-16 17:15:11 +0100
commitcfb1a0e555051190d8fe57ddc795aca49dcda210 (patch)
tree84c9bec811ecc8fd27d586377799ab150cc1a2fe /src/libsystemd/sd-hwdb
parent425ac7a253321b8e8d1b0a0f7a173892a3abc385 (diff)
downloadsystemd-cfb1a0e555051190d8fe57ddc795aca49dcda210.tar.gz
Rename strbuf_cleanup to strbuf_free
It frees the whole object.
Diffstat (limited to 'src/libsystemd/sd-hwdb')
-rw-r--r--src/libsystemd/sd-hwdb/hwdb-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-hwdb/hwdb-util.c b/src/libsystemd/sd-hwdb/hwdb-util.c
index 34be0e7fcc..fd45ff0f54 100644
--- a/src/libsystemd/sd-hwdb/hwdb-util.c
+++ b/src/libsystemd/sd-hwdb/hwdb-util.c
@@ -120,7 +120,7 @@ static struct trie* trie_free(struct trie *trie) {
return NULL;
trie_node_cleanup(trie->root);
- strbuf_cleanup(trie->strings);
+ strbuf_free(trie->strings);
return mfree(trie);
}