summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Lee <dlqs@gmx.com>2021-07-08 01:32:30 +0800
committerDonald Lee <dlqs@gmx.com>2021-07-18 06:32:03 +0800
commitad6e9b854d64aa91eef2d965b7778188d2d7811a (patch)
tree9a78be8f3922bad4a047808c9fa91b3b1ecc7a68 /lib/command.c
parentfae19fa56d110b27bc4f507221573b432cdfc9a8 (diff)
test: Use frrscript_unload
Signed-off-by: Donald Lee <dlqs@gmx.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index b2b80daddd..7808f57594 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2443,6 +2443,8 @@ DEFUN(script,
vty_out(vty, "p: %s\n", buf);
vty_out(vty, "Script result: %d\n", ret);
+ frrscript_unload(fs);
+
return CMD_SUCCESS;
}
#endif