summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index ec24e96ed52..26fa772dffd 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -492,6 +492,16 @@ cli_local_get ()
return local;
}
+void
+cli_local_wipe (cli_local_t *local)
+{
+ if (local) {
+ GF_FREE (local);
+ }
+
+ return;
+}
+
struct cli_state *global_state;
int