summaryrefslogtreecommitdiffstats
path: root/modalias.c
diff options
context:
space:
mode:
Diffstat (limited to 'modalias.c')
-rw-r--r--modalias.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/modalias.c b/modalias.c
index eb33423..f5a667b 100644
--- a/modalias.c
+++ b/modalias.c
@@ -59,7 +59,6 @@ static void set_default_alias_file(void) {
(!stat(fallback_aliases, &st_fallback) && st_fallback.st_mtime > st_alias.st_mtime)) {
free(aliasfilename);
aliasdefault = fallback_aliases;
- free(aliasfilename);
} else {
aliasdefault = aliasfilename;
free(fallback_aliases);