diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-01-26 10:26:36 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-01-27 08:30:37 +0100 |
commit | abb347853317427a227592c4fa4b38e99f9e7152 (patch) | |
tree | 4573511439e9764274cbc931b0e1d9c842880b7a /openbsc/src/gprs/gb_proxy_main.c | |
parent | 496aee7cb809069133fe37f39ccac7607ec6c9b3 (diff) |
gb_proxy: No need to copy optarg
Fixes: Coverity CID 1206578
Diffstat (limited to 'openbsc/src/gprs/gb_proxy_main.c')
-rw-r--r-- | openbsc/src/gprs/gb_proxy_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gb_proxy_main.c b/openbsc/src/gprs/gb_proxy_main.c index 03299df95..a06e1e655 100644 --- a/openbsc/src/gprs/gb_proxy_main.c +++ b/openbsc/src/gprs/gb_proxy_main.c @@ -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); |