summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/htop.c b/htop.c
index aa6d9147..97746175 100644
--- a/htop.c
+++ b/htop.c
@@ -204,6 +204,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
}
case 'F': {
assert(optarg);
+ free(flags.commFilter);
flags.commFilter = xStrdup(optarg);
break;