summaryrefslogtreecommitdiff
path: root/libdm/libdm-stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdm/libdm-stats.c')
-rw-r--r--libdm/libdm-stats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c
index e979b341c..d89f77ab4 100644
--- a/libdm/libdm-stats.c
+++ b/libdm/libdm-stats.c
@@ -3106,6 +3106,7 @@ int dm_stats_set_alias(struct dm_stats *dms, uint64_t group_id, const char *alia
return 1;
bad:
+ dm_free((char *) group->alias);
group->alias = old_alias;
return 0;
}