gb_proxy: No need to copy optarg
Fixes: Coverity CID 1206578
This commit is contained in:
parent
496aee7cb8
commit
abb3478533
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue