Apply Michael Pfeiffer's advice and move the delete outside the if.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27436 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bf2c508181
commit
e65fb49a85
@ -268,8 +268,8 @@ PrinterItem::PrinterItem(PrintersWindow* window, const BDirectory& node)
|
|||||||
sSelectedIcon->Unlock();
|
sSelectedIcon->Unlock();
|
||||||
delete view;
|
delete view;
|
||||||
}
|
}
|
||||||
delete checkMark;
|
|
||||||
}
|
}
|
||||||
|
delete checkMark;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get Name of printer
|
// Get Name of printer
|
||||||
|
Loading…
Reference in New Issue
Block a user