refactor: use method for releasing tag resource

This commit is contained in:
eeff
2023-02-10 00:36:35 +08:00
parent 1592f1ae37
commit 148d81aaef
5 changed files with 12 additions and 12 deletions
+7
View File
@@ -103,6 +103,13 @@ void neu_tag_copy(neu_datatag_t *tag, const neu_datatag_t *other)
}
}
void neu_tag_fini(neu_datatag_t *tag)
{
if (tag) {
tag_array_free(tag);
}
}
void neu_tag_free(neu_datatag_t *tag)
{
if (tag) {