Index: builtin.c =================================================================== RCS file: /sources/gawk/gawk-stable/builtin.c,v retrieving revision 1.2 diff -u -r1.2 builtin.c --- builtin.c 11 Aug 2006 12:49:39 -0000 1.2 +++ builtin.c 30 Nov 2006 14:17:56 -0000 @@ -2089,9 +2089,9 @@ } free(buf); - if (wc_indices != NULL) - free(wc_indices); } + if (wc_indices != NULL) + free(wc_indices); } else { /* match failed */ rstart = 0; rlength = -1;