diff options
Diffstat (limited to 'doc/specs/parse_y.y')
-rw-r--r-- | doc/specs/parse_y.y | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/specs/parse_y.y b/doc/specs/parse_y.y index b195f5d3..96809cd2 100644 --- a/doc/specs/parse_y.y +++ b/doc/specs/parse_y.y @@ -282,9 +282,7 @@ char *new_counter(const char *key) counter_root = set_key(counter_root, key, new); - if (last_label) { - free(last_label); - } + free(last_label); last_label = strdup(new); return new; |