Loading...
--- xnu/xnu-792.2.4/iokit/Kernel/IOPMchangeNoteList.cpp
+++ xnu/xnu-517.7.7/iokit/Kernel/IOPMchangeNoteList.cpp
@@ -107,7 +107,7 @@
{
IOPowerConnection *tmp;
- if((tmp = changeNote[firstInList].parent)) {
+ if(tmp = changeNote[firstInList].parent) {
changeNote[firstInList].parent = 0;
tmp->release();
}
@@ -131,7 +131,7 @@
{
IOPowerConnection *tmp;
- if((tmp = changeNote[firstInList].parent)) {
+ if(tmp = changeNote[firstInList].parent) {
changeNote[firstInList].parent = 0;
tmp->release();
}