free compiled regexes in page handlers

This commit is contained in:
Ron Pedde 2004-09-19 06:00:43 +00:00
parent 8577bec027
commit 628943123d
1 changed files with 1 additions and 0 deletions

View File

@ -227,6 +227,7 @@ extern int ws_stop(WSHANDLE ws) {
while(pwsp->handlers.next) {
current=pwsp->handlers.next;
pwsp->handlers.next=current->next;
regfree(&current->regex);
free(current);
}