summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}