commit | 196cb62a079e5ba2133676fcae03a4a0f87e2cf0 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Mon Jan 26 10:26:36 2015 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Tue Jan 27 08:30:37 2015 +0100 |
tree | 4573511439e9764274cbc931b0e1d9c842880b7a | |
parent | b485ee98f7e0a1c224bc62f1b39f9f347ae9ca3b [diff] [blame] |
gb_proxy: No need to copy optarg Fixes: Coverity CID 1206578
diff --git a/openbsc/src/gprs/gb_proxy_main.c b/openbsc/src/gprs/gb_proxy_main.c index 03299df..a06e1e6 100644 --- a/openbsc/src/gprs/gb_proxy_main.c +++ b/openbsc/src/gprs/gb_proxy_main.c
@@ -172,7 +172,7 @@ daemonize = 1; break; case 'c': - config_file = strdup(optarg); + config_file = optarg; break; case 'T': log_set_print_timestamp(osmo_stderr_target, 1);