Changeset: 06f9a753d39f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/06f9a753d39f
Modified Files:
        gdk/gdk_bbp.c
Branch: persistent_sketches
Log Message:

dec sketch heap ref when destroying


diffs (14 lines):

diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -3736,6 +3736,10 @@ BBPdestroy(BAT *b)
        if (b->theap) {
                HEAPdecref(b->theap, tp == 0);
                b->theap = NULL;
+               if (b->tsketch) {
+                       HEAPdecref(b->tsketch, tp == 0);
+                       b->tsketch = NULL;
+               }
                if (tp != 0)
                        BBPrelease(tp);
        }
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to