Changeset: a31a18b3d662 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a31a18b3d662
Modified Files:
        monetdb5/mal/mal_interpreter.mx
Branch: Aug2011
Log Message:

Resolve memory leakage


diffs (13 lines):

diff --git a/monetdb5/mal/mal_interpreter.mx b/monetdb5/mal/mal_interpreter.mx
--- a/monetdb5/mal/mal_interpreter.mx
+++ b/monetdb5/mal/mal_interpreter.mx
@@ -1728,6 +1728,9 @@ safeguardStack(Client cntxt, MalBlkPtr m
        case YIELDsymbol:     /* to be defined */
                if (oldtimer)
                        cntxt->timer = oldtimer;
+               GDKfree(backup);
+               GDKfree(sbackup);
+               GDKfree(garbage);
                return yieldFactory(mb, pci, stkpc);
        case RETURNsymbol:
                /* Return from factory involves cleanup */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to