mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Fix regex deallocation.
This commit is contained in:
parent
b922c1aa00
commit
3bac0ba27a
@ -824,7 +824,7 @@ static void likeFunc(
|
||||
*/
|
||||
static void regexpDelete(void* p) {
|
||||
std::regex* regex = (std::regex*) p;
|
||||
delete p;
|
||||
delete regex;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user