Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9398/src/mal
Modified Files:
mal_debugger.mx
Log Message:
moved GDKfree close to last use of the variable
Index: mal_debugger.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_debugger.mx,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -d -r1.216 -r1.217
--- mal_debugger.mx 2 Jan 2008 08:18:51 -0000 1.216
+++ mal_debugger.mx 4 Jan 2008 18:06:07 -0000 1.217
@@ -726,6 +726,7 @@
w = 0;
ATOMformat(val->vtype, VALptr(val), &w);
strcat(msg,w);
+ GDKfree(w);
if( ATOMcmp(val->vtype, ATOMnilptr(val->vtype),
VALptr(val))==0){
str tpe= getTypeName(v->type);
strcat(msg,":");
@@ -745,7 +746,6 @@
}
GDKfree(tpe);
}
- GDKfree(w);
if (k < p->argc - 1)
strcat(msg,", ");
len= strlen(msg);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins