summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--modalias.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5b5f2f7..4ce7b4e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix double free
+
Version 0.11.4 - 5 January 2012, Thierry Vignaud
- plug some memleaks
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);