Added destructor.
authorAlexander G. Pronchenkov <the.zett@gmail.com>
Tue, 26 Jan 2010 11:34:55 +0000 (16:34 +0500)
committerAlexander G. Pronchenkov <the.zett@gmail.com>
Tue, 26 Jan 2010 11:44:39 +0000 (16:44 +0500)
bins.h

diff --git a/bins.h b/bins.h
index 69bf6f7..389a06f 100644 (file)
--- a/bins.h
+++ b/bins.h
@@ -30,6 +30,9 @@ public:
     /** Copying constructor. */
     binmap_t(const binmap_t& b);
     
+    /** Destructor. */
+    ~binmap_t() { delete [] cells; }
+
     /** Get value for the bin. */
     uint16_t    get (bin64_t bin);