diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-02-07 10:04:11 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-02-07 10:04:11 +0100 |
commit | 2f8b1360df25bab375ec60bbba2dce8dd796161c (patch) | |
tree | 3261f21c2f9350d04e9b7f2d7cd154f5ac1cf860 | |
parent | 881fd3b671188945581c15feef3dbdd9b0af9102 (diff) |
main: fix leaking -p/-s argument values
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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': |