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:
Ryan Leavengood 2008-09-12 06:34:39 +00:00
parent bf2c508181
commit e65fb49a85

View File

@ -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