Changeset: 89b6c0cc8122 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/89b6c0cc8122
Modified Files:
        gdk/gdk_select.c
Branch: default
Log Message:

Fix double free.


diffs (12 lines):

diff --git a/gdk/gdk_select.c b/gdk/gdk_select.c
--- a/gdk/gdk_select.c
+++ b/gdk/gdk_select.c
@@ -129,6 +129,8 @@ hashselect(BATiter *bi, struct canditer 
                off = VarHeapVal(pbi.base, i, pbi.width);
                bat_iterator_end(&pbi);
                BBPreclaim(b2);
+               b2 = NULL;
+               phash = false;
                tl = &off;
        } else if (phash && (b2 = BATdescriptor(VIEWtparent(bi->b))) != NULL) {
                *algo = "hashselect on parent";
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to