diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-10 00:24:24 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-10 00:24:24 -0800 |
| commit | f4a7b80b4ff63d6610142b417cbadd6526339ae4 (patch) | |
| tree | 1da87124f2fa4b935aa17eb25da100475ae49ff3 /grammar.c | |
| parent | 9d1f51c483578c66d401a59f59ad18add0e1a52f (diff) | |
Updated more things to use xfree(&foo) instead of free(foo)
Diffstat (limited to 'grammar.c')
| -rw-r--r-- | grammar.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -119,8 +119,8 @@ void pop_backrefs(grammar_t *g, size_t count) backref_t *b = g->firstbackref; g->firstbackref = b->next; check(b, "Attempt to pop %ld more backrefs than there are", count); - xfree((void**)&b->op); - xfree((void**)&b); + xfree(&b->op); + xfree(&b); } } |
