Changeset: 259853e52106 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/259853e52106
Modified Files:
gdk/gdk_bbp.c
Branch: ustr
Log Message:
Crash prevention on exit.
diffs (17 lines):
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -2058,6 +2058,13 @@ BBPexit(void)
HEAPdecref(b->theap, false);
b->theap = NULL;
}
+ if (b->ustr) {
+ --BBP_lrefs(b->ustr);
+ if (b->tvheap)
+ HEAPdecref(b->tvheap,
+ false);
+ b->tvheap = NULL;
+ }
tp = VIEWvtparent(b);
if (tp != 0) {
--BBP_lrefs(tp);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]