From 67ffea8877f327f1b6d60eea23b13c0f14a96f0f Mon Sep 17 00:00:00 2001
From: unbe <unbe@users.noreply.github.com>
Date: Sun, 19 Jul 2015 15:15:42 +0200
Subject: [PATCH] Update capi.cpp

Make TessDeleteResultRenderer use delete, not delete[]
---
 api/capi.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/capi.cpp b/api/capi.cpp
index 0716e75f6b..3710370e90 100644
--- a/api/capi.cpp
+++ b/api/capi.cpp
@@ -64,7 +64,7 @@ TESS_API TessResultRenderer* TESS_CALL TessBoxTextRendererCreate(const char* out
 
 TESS_API void TESS_CALL TessDeleteResultRenderer(TessResultRenderer* renderer)
 {
-    delete [] renderer;
+    delete renderer;
 }
 
 TESS_API void TESS_CALL TessResultRendererInsert(TessResultRenderer* renderer, TessResultRenderer* next)