mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 16:00:12 +00:00
viced: clear optstring before parsing
we try to free the string if there was a value, so if there's none we should probably ensure we know it Change-Id: I20fc535e56d65c82f26852ba59528d5660c98e20 Reviewed-on: http://gerrit.openafs.org/7546 Reviewed-by: Derrick Brashear <shadow@dementix.org> Tested-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
7273c8b4ae
commit
a8e35e9fd7
@ -984,7 +984,7 @@ ParseArgs(int argc, char *argv[])
|
||||
{
|
||||
int code;
|
||||
int optval;
|
||||
char *optstring;
|
||||
char *optstring = NULL;
|
||||
struct cmd_item *optlist;
|
||||
struct cmd_syndesc *opts;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user