summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-rpc-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli-rpc-ops.c')
-rw-r--r--cli/src/cli-rpc-ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 40044dad753..3ea918a8cba 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -498,7 +498,7 @@ out:
cli_cmd_broadcast_response (ret);
if (dict)
- dict_destroy (dict);
+ dict_unref (dict);
return ret;
}
@@ -1067,7 +1067,7 @@ out:
cli_cmd_broadcast_response (ret);
if (dict)
- dict_destroy (dict);
+ dict_unref (dict);
free (rsp.dict.dict_val);