Changeset: 75d98a2c048e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/75d98a2c048e
Modified Files:
        gdk/gdk_histogram.c
Branch: histograms
Log Message:

Memory leak


diffs (11 lines):

diff --git a/gdk/gdk_histogram.c b/gdk/gdk_histogram.c
--- a/gdk/gdk_histogram.c
+++ b/gdk/gdk_histogram.c
@@ -369,6 +369,7 @@ HISTOGRAMdestroy(BAT *b)
 {
        if (b && b->thistogram) {
                MT_lock_set(&b->batIdxLock);
+               GDKfree(b->thistogram->histogram);
                GDKfree(b->thistogram);
                b->thistogram = NULL;
                MT_lock_unset(&b->batIdxLock);
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to