mirror of
https://github.com/emqx/neuron.git
synced 2026-10-24 10:46:39 +08:00
refactor: use method for releasing tag resource
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user