From 449e1850b7f0aced709182a3dd91f1fba59a14b5 Mon Sep 17 00:00:00 2001 From: Victor Grishchenko Date: Thu, 4 Feb 2010 11:24:35 +0100 Subject: [PATCH] being consistent: realloc -> free --- bins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bins.h b/bins.h index 389a06f..c4737c3 100644 --- a/bins.h +++ b/bins.h @@ -31,7 +31,7 @@ public: binmap_t(const binmap_t& b); /** Destructor. */ - ~binmap_t() { delete [] cells; } + ~binmap_t() { if (cells) free(cells); } /** Get value for the bin. */ uint16_t get (bin64_t bin); -- 2.20.1