free compiled regexes in page handlers
This commit is contained in:
parent
8577bec027
commit
628943123d
|
@ -227,6 +227,7 @@ extern int ws_stop(WSHANDLE ws) {
|
|||
while(pwsp->handlers.next) {
|
||||
current=pwsp->handlers.next;
|
||||
pwsp->handlers.next=current->next;
|
||||
regfree(¤t->regex);
|
||||
free(current);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue