mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 01:10:41 -07:00
Avoid freeing of uninitialized memory.
Thanks to Isha for pointing this out.
This commit is contained in:
@@ -5,7 +5,7 @@ extern VALUE mLiquid;
|
||||
|
||||
static void free_tokenizer(void *ptr)
|
||||
{
|
||||
struct liquid_tokenizer *tokenizer;
|
||||
struct liquid_tokenizer *tokenizer = ptr;
|
||||
xfree(tokenizer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user