Skip to content

Commit

Permalink
Fix memory leak with --proxy-auth argument
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Feb 24, 2015
1 parent 41e131b commit 7330ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -1188,7 +1188,7 @@ int main(int argc, char **argv)
autoproxy = 0;
break;
case OPT_PROXY_AUTH:
openconnect_set_proxy_auth(vpninfo, dup_config_arg());
openconnect_set_proxy_auth(vpninfo, config_arg);
break;
case OPT_NO_PROXY:
autoproxy = 0;
Expand Down

0 comments on commit 7330ea3

Please sign in to comment.