aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/module.c b/util/module.c
index e9fe3e5422..8c5315a7a3 100644
--- a/util/module.c
+++ b/util/module.c
@@ -214,6 +214,7 @@ bool module_load_one(const char *prefix, const char *lib_name)
if (!success) {
g_hash_table_remove(loaded_modules, module_name);
+ g_free(module_name);
}
for (i = 0; i < n_dirs; i++) {