bsc_hack: Don't strdup the string arguments

Fixes CIDs #1206577, #1206578
This commit is contained in:
Daniel Willmann 2014-05-21 15:46:44 +02:00 committed by Holger Hans Peter Freyther
parent 45fcb85236
commit 038f97a69f
1 changed files with 2 additions and 2 deletions

View File

@ -148,10 +148,10 @@ static void handle_options(int argc, char **argv)
daemonize = 1;
break;
case 'l':
database_name = strdup(optarg);
database_name = optarg;
break;
case 'c':
config_file = strdup(optarg);
config_file = optarg;
break;
case 'p':
create_pcap_file(optarg);