mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
gb_proxy: No need to copy optarg
Fixes: Coverity CID 1206578
This commit is contained in:
@@ -172,7 +172,7 @@ static void handle_options(int argc, char **argv)
|
||||
daemonize = 1;
|
||||
break;
|
||||
case 'c':
|
||||
config_file = strdup(optarg);
|
||||
config_file = optarg;
|
||||
break;
|
||||
case 'T':
|
||||
log_set_print_timestamp(osmo_stderr_target, 1);
|
||||
|
Reference in New Issue
Block a user