]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/hash-funcs.c
update TODO
[thirdparty/systemd.git] / src / basic / hash-funcs.c
index fee0ba98eba938f2e59e5235bda8417c6719a37c..cf279e5cbefc5673d66ca7369084d4682a12ff64 100644 (file)
@@ -55,6 +55,8 @@ void path_hash_func(const char *q, struct siphash *state) {
 }
 
 DEFINE_HASH_OPS(path_hash_ops, char, path_hash_func, path_compare);
+DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR(path_hash_ops_free,
+                                    char, path_hash_func, path_compare, free);
 
 void trivial_hash_func(const void *p, struct siphash *state) {
         siphash24_compress(&p, sizeof(p), state);