Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41457 - in /branches/tmp/sh/mod-ui/ncurses/src: NCMenuButton.cc NCPopupMenu.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Thu, 18 Oct 2007 10:06:29 -0000
  • Message-id: <20071018100629.5165026630@xxxxxxxxxxxxxxxx>
Author: gs
Date: Thu Oct 18 12:06:28 2007
New Revision: 41457

URL: http://svn.opensuse.org/viewcvs/yast?rev=41457&view=rev
Log:
add YUI_CHECK_NEW

Modified:
    branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc
    branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc

Modified: branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc?rev=41457&r1=41456&r2=41457&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCMenuButton.cc Thu Oct 18 12:06:28 2007
@@ -191,6 +191,8 @@
   NCPopupMenu * dialog = new NCPopupMenu( at,
                                          itemsBegin(),
                                          itemsEnd() );
+  YUI_CHECK_NEW( dialog );
+  
   int selection = dialog->post();
 
   if ( selection < 0 ) {

Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc?rev=41457&r1=41456&r2=41457&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPopupMenu.cc Thu Oct 18 12:06:28 2007
@@ -109,6 +109,8 @@
       NCPopupMenu * dialog = new NCPopupMenu( at,
                                              _selectedItem->childrenBegin(),
                                              _selectedItem->childrenEnd() );
+      YUI_CHECK_NEW( dialog );
+      
       again = (dialog->post( &postevent ) == NCursesEvent::CONTINUE);
       YDialog::deleteTopmostDialog();
     } else {

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages