Must clear link type before calling dbLockSetSplit()

This commit is contained in:
Andrew Johnson authored and Michael Davidsaver committed 2012-04-27 13:21:48 -04:00
1 parent 4ef35a5f5c
commit a2fadc15a7
1 file changed
+1
+1
View File
@@ -142,6 +142,7 @@ static void dbDbRemoveLink(struct link *plink)
plink->value.pv_link.pvt = 0;
plink->value.pv_link.getCvt = 0;
plink->value.pv_link.lastGetdbrType = 0;
plink->type = PV_LINK;
dbLockSetSplit(plink->value.pv_link.precord);
}