summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index d1aac09..de5f2c3 100644
--- a/main.c
+++ b/main.c
@@ -328,6 +328,7 @@ int main(int argc, char **argv)
case 'p':
optarg = strdup(optarg);
bound += add_listener_arg(optarg, (ch == 's'));
+ free(optarg);
break;
case 'h':