We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f4716f commit c906d46Copy full SHA for c906d46
1 file changed
src/bin/radclient.c
@@ -1984,7 +1984,10 @@ int main(int argc, char **argv)
1984
/*
1985
* Add the secret.
1986
*/
1987
- if (argv[3]) secret = talloc_strdup(NULL, argv[3]);
+ if (argv[3]) {
1988
+ talloc_free(secret);
1989
+ secret = talloc_strdup(NULL, argv[3]);
1990
+ }
1991
1992
1993
* If no '-f' is specified, we're reading from stdin.
0 commit comments