Fix regex deallocation.

This commit is contained in:
Casey Langen 2020-11-07 22:17:50 -08:00
parent b922c1aa00
commit 3bac0ba27a

View File

@ -824,7 +824,7 @@ static void likeFunc(
*/
static void regexpDelete(void* p) {
std::regex* regex = (std::regex*) p;
delete p;
delete regex;
}
/*