db: move db_field_log dtor out of union

This commit is contained in:
Michael Davidsaver committed 2022-07-28 13:10:59 -07:00
1 parent 5ba8080f6e
commit 9048aa3438
6 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ static void check(short dbr_type) {
pfl->field_type = DBF_CHAR; \
pfl->field_size = 1; \
pfl->no_elements = 26; \
pfl->u.r.dtor = freeArray; \
pfl->dtor = freeArray; \
pfl->u.r.field = epicsStrDup("abcdefghijklmnopqrsstuvwxyz"); \
testOk(!dbChannelGetField(pch, DBR_LONG, buf, NULL, &req, pfl), "Got Field value"); \
testOk(req == Size, "Got %ld elements (expected %d)", req, Size); \