mirror of
https://github.com/kemko/liquid.git
synced 2026-01-05 09:45:40 +03: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