{
struct ctables_axis *rhs = ctables_axis_parse_postfix (ctx);
if (!rhs)
- return NULL;
+ {
+ ctables_axis_destroy (lhs);
+ return NULL;
+ }
struct ctables_axis *nest = ctables_axis_new_nonterminal (
CTAO_NEST, lhs, rhs, ctx->lexer, start_ofs);
{
struct ctables_axis *rhs = ctables_axis_parse_nest (ctx);
if (!rhs)
- return NULL;
+ {
+ ctables_axis_destroy (lhs);
+ return NULL;
+ }
lhs = ctables_axis_new_nonterminal (CTAO_STACK, lhs, rhs,
ctx->lexer, start_ofs);