Fix another memory leak
This commit is contained in:
parent
65e360984d
commit
b3b68ed586
@ -28,6 +28,8 @@ bool replace(tSyntaxElement* tree, tProcessingData* pdata) {
|
|||||||
tree->content = clone->content;
|
tree->content = clone->content;
|
||||||
tree->type = clone->type;
|
tree->type = clone->type;
|
||||||
|
|
||||||
|
free(clone);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pd->prev != NULL)
|
if (pd->prev != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user