Changeset: d0575ed4770d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d0575ed4770d
Modified Files:
        monetdb5/modules/mal/pcre.c
Branch: Aug2011
Log Message:

fix leak (free result of pcre_study)


diffs (11 lines):

diff --git a/monetdb5/modules/mal/pcre.c b/monetdb5/modules/mal/pcre.c
--- a/monetdb5/modules/mal/pcre.c
+++ b/monetdb5/modules/mal/pcre.c
@@ -447,6 +447,7 @@ pcre_uselect(BAT **res, str pattern, BAT
        r->tsorted = FALSE;
 
        my_pcre_free(re);
+       my_pcre_free(pe);
        if (!(r->batDirty&2)) r = BATsetaccess(r, BAT_READ);
        *res = r;
        return MAL_SUCCEED;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to