aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/provider.c')
-rw-r--r--src/nvim/os/provider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/os/provider.c b/src/nvim/os/provider.c
index 07e757fe0e..57c2e57a3c 100644
--- a/src/nvim/os/provider.c
+++ b/src/nvim/os/provider.c
@@ -14,7 +14,6 @@
#include "nvim/log.h"
#include "nvim/map.h"
#include "nvim/message.h"
-#include "nvim/os/msgpack_rpc_helpers.h"
#define FEATURE_COUNT (sizeof(features) / sizeof(features[0]))
@@ -109,7 +108,7 @@ Object provider_call(char *method, Array args)
"Provider for \"%s\" is not available",
method);
report_error(buf);
- msgpack_rpc_free_array(args);
+ api_free_array(args);
return NIL;
}
@@ -119,7 +118,7 @@ Object provider_call(char *method, Array args)
if (error) {
report_error(result.data.string.data);
- msgpack_rpc_free_object(result);
+ api_free_object(result);
return NIL;
}