diff options
author | Olivier Blin <blino@mageia.org> | 2012-01-05 21:26:21 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2012-01-05 21:26:21 +0000 |
commit | c57f79833dfb7b781c0478102661c175e82ee321 (patch) | |
tree | 9c90a1187f12f4a0d44066302a92b36fa314bbaa | |
parent | 15aeb66c31b81adf1df0f794eaf272916ec9b9bc (diff) | |
download | ldetect-c57f79833dfb7b781c0478102661c175e82ee321.tar ldetect-c57f79833dfb7b781c0478102661c175e82ee321.tar.gz ldetect-c57f79833dfb7b781c0478102661c175e82ee321.tar.bz2 ldetect-c57f79833dfb7b781c0478102661c175e82ee321.tar.xz ldetect-c57f79833dfb7b781c0478102661c175e82ee321.zip |
fix double free introduced by titi in r2580 (and by the way, there was no leak in r226763, it has been introduced later on)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | modalias.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix double free + Version 0.11.4 - 5 January 2012, Thierry Vignaud - plug some memleaks @@ -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); |