This fixes a memory leak. Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de> --- main.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/main.c b/main.c index 73e3d42..bca69cf 100644 --- a/main.c +++ b/main.c @@ -298,6 +298,7 @@ int main(int argc, char **argv) case 'p': optarg = strdup(optarg); bound += add_listener_arg(optarg, (ch == 's')); + free(optarg); break; case 'h': -- 2.20.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel