Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13747/src/mal

Modified Files:
        mal_interpreter.mx 
Log Message:
make sure we don't free nil bats


Index: mal_interpreter.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_interpreter.mx,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- mal_interpreter.mx  7 Jan 2008 21:44:45 -0000       1.207
+++ mal_interpreter.mx  7 Jan 2008 21:51:00 -0000       1.208
@@ -176,7 +176,7 @@
 {
        BAT *b;
 
-       if (BBP_lrefs(bid) == 1){
+       if (bid != bat_nil && BBP_lrefs(bid) == 1){
                b= BATdescriptor(bid);
                if( b==0) return;
                /* count it once ! */


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to