diff --git a/libc3/buf_parse.c b/libc3/buf_parse.c
index 0c5f035..cf2abb2 100644
--- a/libc3/buf_parse.c
+++ b/libc3/buf_parse.c
@@ -295,6 +295,7 @@ sw buf_parse_array_dimensions_rec (s_buf *buf, s_array *dest,
goto clean;
}
result += r;
+ tag_clean(&tag);
}
else {
if ((r = buf_parse_array_dimensions_rec(buf, &tmp, address,