Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12956

Modified Files:
      Tag: XQuery_0-16
        shttpd.c 
Log Message:
Don't free strings that were not malloc-ed.



Index: shttpd.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/shttpd.c,v
retrieving revision 1.19.4.2
retrieving revision 1.19.4.3
diff -u -d -r1.19.4.2 -r1.19.4.3
--- shttpd.c    21 Feb 2007 16:22:49 -0000      1.19.4.2
+++ shttpd.c    21 Feb 2007 16:48:34 -0000      1.19.4.3
@@ -3108,8 +3108,6 @@
 
        /* Free configuration */
        for (opt = options; opt->sw != 0; opt++) {
-               if (opt->type == OPT_STR && opt->value.value_str != NULL)
-                       free(opt->value.value_str);
                opt->set = 0;
                opt->value.value_str = NULL;
        }


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to