1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-10-31 18:30:33 +03:00

fix(leak): MCOL-6018: cleanup stacks on error again

This commit is contained in:
Leonid Fedorov
2025-08-25 23:36:23 +00:00
committed by Leonid Fedorov
parent 0b4687e0c7
commit 9ed33c7e04

View File

@@ -815,6 +815,12 @@ void gp_walk(const Item* item, void* arg)
}
}
// Clean up allocated objects if a fatal parse error occurred
if (gwip->fatalParseError)
{
clearDeleteStacks(*gwip);
}
return;
}