summaryrefslogtreecommitdiff
path: root/lib/sbuffer.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-11-25 22:11:24 -0800
committerJosh Blum2012-11-25 22:11:24 -0800
commit4aa91c001ed4dbcae1c517672b39581c9ffd7e23 (patch)
tree5ddd52fefb8011d63b8aaa8c63fb22a721133191 /lib/sbuffer.cpp
parent34d0a5fe7f4884f4dcc2fab60931517d2a01b311 (diff)
downloadsandhi-4aa91c001ed4dbcae1c517672b39581c9ffd7e23.tar.gz
sandhi-4aa91c001ed4dbcae1c517672b39581c9ffd7e23.tar.bz2
sandhi-4aa91c001ed4dbcae1c517672b39581c9ffd7e23.zip
fixed mismatched delete for default allocator
Diffstat (limited to 'lib/sbuffer.cpp')
-rw-r--r--lib/sbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbuffer.cpp b/lib/sbuffer.cpp
index d0a8dc2..c1f3b75 100644
--- a/lib/sbuffer.cpp
+++ b/lib/sbuffer.cpp
@@ -43,7 +43,7 @@ static void numa_mem_deleter(SBuffer &buff)
static void default_allocator_deleter(SBuffer &, char *m)
{
- delete m;
+ delete [] m;
}
static void default_allocator(SBufferConfig &config)