octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37234] GUI fails to properly call all destruc


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #37234] GUI fails to properly call all destructors and free all memory
Date: Sat, 10 Nov 2012 09:54:14 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.6.24-1.fc14 Firefox/3.6.24

Follow-up Comment #9, bug #37234 (project octave):

I'm not sure, but I don't think _current_directory_combo_box needs to be
deleted at in the destructor.  (Could try, probably would get a system error,
but again, this would be hard to debug...which reminds me, I had in mind to
rewrite the unix terminal so that right before exit it switches STDERR back to
the console.)  The reason, I believe, is noted in the patch file,

+  // addWidget takes ownership of the objects so there is no
+  // need to delete these upon destroying this main_window.

Check the Qt documentation for addWidget and see if you agree with me on
that.

The HDF5 error?  That's new to me.  A separate bug report for that seems in
order.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37234>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]