summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-17 19:35:55 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-17 19:35:55 +0000
commitd3e3505b28bffec66cc52d0b1a233278d9023970 (patch)
tree396150a68225e678bc1644222fe26e0860b7c65f
parent9d6ff18da4815b13b6f826e3b7e8d426b8f8e9d5 (diff)
downloadldetect-d3e3505b28bffec66cc52d0b1a233278d9023970.tar
ldetect-d3e3505b28bffec66cc52d0b1a233278d9023970.tar.gz
ldetect-d3e3505b28bffec66cc52d0b1a233278d9023970.tar.bz2
ldetect-d3e3505b28bffec66cc52d0b1a233278d9023970.tar.xz
ldetect-d3e3505b28bffec66cc52d0b1a233278d9023970.zip
(modalias_cleanup) cleanup
-rw-r--r--modalias.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modalias.c b/modalias.c
index f616cc1..73c71d6 100644
--- a/modalias.c
+++ b/modalias.c
@@ -116,6 +116,5 @@ exit:
void modalias_cleanup(void) {
ifree(aliasdefault);
- free(version);
- version = NULL;
+ ifree(version);
}