summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 1a3497e74a..e7fecd7da8 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -607,6 +607,9 @@ free_buffer(buf)
#ifdef FEAT_PYTHON
python_buffer_free(buf);
#endif
+#ifdef FEAT_PYTHON3
+ python3_buffer_free(buf);
+#endif
#ifdef FEAT_RUBY
ruby_buffer_free(buf);
#endif