The CONTACT statement does not apply to 1D devices.
This commit is contained in:
parent
42a8bafd10
commit
cbda9ab7b5
|
|
@ -77,15 +77,6 @@ ONEdestroy(ONEdevice *pDevice)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pDevice->pFirstContact) {
|
|
||||||
struct sONEcontact* pFCtmp = pDevice->pFirstContact;
|
|
||||||
while (pFCtmp) {
|
|
||||||
struct sONEcontact* pFCtmpnext = pFCtmp->next;
|
|
||||||
FREE(pFCtmp);
|
|
||||||
pFCtmp = pFCtmpnext;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (pDevice->pStats) {
|
if (pDevice->pStats) {
|
||||||
FREE(pDevice->pStats);
|
FREE(pDevice->pStats);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue