dtmail: Further Coverity fixes
This commit is contained in:
@@ -110,6 +110,7 @@ MainWindow::MainWindow( char *name, Boolean allowResize ) : UIComponent ( name )
|
||||
_last_state = 0;
|
||||
_flash_owin = 0;
|
||||
_flash_iwin = 0;
|
||||
_main = NULL;
|
||||
memset(&_window_attributes, 0, sizeof(XWindowAttributes));
|
||||
|
||||
assert ( theApplication != NULL ); // Application object must exist
|
||||
|
||||
@@ -260,7 +260,7 @@ MenuBar::createPulldown (
|
||||
}
|
||||
|
||||
XtManageChildren ( head_wl, num_wl );
|
||||
delete head_wl;
|
||||
delete [] head_wl;
|
||||
|
||||
return(pulldown);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user