mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
+
This commit is contained in:
parent
3b11963c76
commit
890adcca2b
1 changed files with 4 additions and 2 deletions
|
@ -23,8 +23,10 @@ static inline void
|
||||||
psyc_free_parser (psycState *ps) {
|
psyc_free_parser (psycState *ps) {
|
||||||
if (!ps)
|
if (!ps)
|
||||||
return;
|
return;
|
||||||
if (ps->state)
|
if (ps->tmp)
|
||||||
pxfree((void *) ps->state);
|
pxfree((void *) ps->tmp);
|
||||||
|
if (ps->parser)
|
||||||
|
pxfree((void *) ps->parser);
|
||||||
if (ps->packet)
|
if (ps->packet)
|
||||||
free_array(ps->packet);
|
free_array(ps->packet);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue