diff options
author | paul <paul> | 2005-03-08 16:00:12 +0000 |
---|---|---|
committer | paul <paul> | 2005-03-08 16:00:12 +0000 |
commit | f318bd1f3e2cf5220ee40e044a6a07236779a5b3 (patch) | |
tree | 2288a3cd4a06b4ccd932425cb561fedc5715f8d8 /lib/command.c | |
parent | 7c1363d6a775ae1d6c9101576d26b1a37b89a1f9 (diff) | |
download | quagga-f318bd1f3e2cf5220ee40e044a6a07236779a5b3.tar.bz2 quagga-f318bd1f3e2cf5220ee40e044a6a07236779a5b3.tar.xz |
2005-03-08 Paul Jakma <paul.jakma@sun.com>
* command.c: (no_banner_motd_cmd) use XFREE.
* vty.c: (vty_hello) fix the indentation and comment.
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index 15c06655..fed40be5 100644 --- a/lib/command.c +++ b/lib/command.c @@ -3437,7 +3437,8 @@ DEFUN (no_banner_motd, "Strings for motd\n") { host.motd = NULL; - if (host.motdfile) free(host.motdfile); + if (host.motdfile) + XFREE (MTYPE_TMP, host.motdfile); host.motdfile = NULL; return CMD_SUCCESS; } |