Changeset: 6f6171a5893b for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6f6171a5893b Modified Files: monetdb5/ChangeLog.Apr2011 monetdb5/modules/atoms/url.mx Branch: Apr2011 Log Message:
Fixed a bug in conversion from string to the URL type. diffs (23 lines): diff --git a/monetdb5/ChangeLog.Apr2011 b/monetdb5/ChangeLog.Apr2011 --- a/monetdb5/ChangeLog.Apr2011 +++ b/monetdb5/ChangeLog.Apr2011 @@ -1,3 +1,7 @@ # ChangeLog file for MonetDB5 # This file is updated with Maddlog +* Wed May 11 2011 Sjoerd Mullender <[email protected]> +- Fixed a bug in conversion from string to the URL type. The bug was + an incorrect call to free(). + diff --git a/monetdb5/modules/atoms/url.mx b/monetdb5/modules/atoms/url.mx --- a/monetdb5/modules/atoms/url.mx +++ b/monetdb5/modules/atoms/url.mx @@ -931,7 +931,7 @@ { /* actually parse the message for valid url */ if (*url !=0) - GDKfree(url); + GDKfree(*url); *len = (int) strlen(src); *url = GDKstrdup(src); _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
