chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: fix resource leak in manager_environment_add
[elogind.git]
/
src
/
core
/
dbus-manager.c
diff --git
a/src/core/dbus-manager.c
b/src/core/dbus-manager.c
index 2fe9d193f6a79f1715676303a352a4e71befd9fb..533ce439a77013fedd42c80f4162bb05bebe0736 100644
(file)
--- a/
src/core/dbus-manager.c
+++ b/
src/core/dbus-manager.c
@@
-1399,7
+1399,7
@@
static int method_list_unit_files(sd_bus *bus, sd_bus_message *message, void *us
if (r < 0)
return r;
- h = hashmap_new(
string_hash_func, string_compare_func
);
+ h = hashmap_new(
&string_hash_ops
);
if (!h)
return -ENOMEM;