Skip to content

Commit

Permalink
Merge pull request #1428 from fengzeroz/v2.5
Browse files Browse the repository at this point in the history
fix(driver): memory leak
  • Loading branch information
fengzeroz authored Jul 28, 2023
2 parents 34247aa + 5f1a702 commit c03d85d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/adapter/driver/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,9 @@ void neu_adapter_driver_write_tags(neu_adapter_driver_t *driver,

tv.value = cmd->tags[i].value.value;
utarray_push_back(tags, &tv);
} else {
if (tag != NULL) {
neu_tag_free(tag);
}
}
if (tag != NULL) {
neu_tag_free(tag);
}
}

Expand Down

0 comments on commit c03d85d

Please sign in to comment.