fixbug:heap use after free

This commit is contained in:
xiang.zhou
2026-03-03 10:50:50 +08:00
parent a5ae436104
commit aebbf6cfd3
+2
View File
@@ -372,8 +372,10 @@ void neu_group_change_test(neu_group_t *group, int64_t timestamp, void *arg,
neu_group_change_fn fn)
{
if (group->timestamp != timestamp) {
pthread_mutex_lock(&group->mtx);
UT_array *tags = to_array(group->tags);
fn(arg, group->timestamp, tags, group->interval);
pthread_mutex_unlock(&group->mtx);
}
}