[haiku-commits] r40762 - haiku/trunk/src/apps/terminal

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 1 Mar 2011 19:00:28 +0100 (CET)

Author: kallisti5
Date: 2011-03-01 19:00:28 +0100 (Tue, 01 Mar 2011)
New Revision: 40762
Changeset: http://dev.haiku-os.org/changeset/40762

Modified:
   haiku/trunk/src/apps/terminal/TerminalRoster.cpp
Log:
remove a double free of fOurInfo. CID 10563

Modified: haiku/trunk/src/apps/terminal/TerminalRoster.cpp
===================================================================
--- haiku/trunk/src/apps/terminal/TerminalRoster.cpp    2011-03-01 16:19:38 UTC 
(rev 40761)
+++ haiku/trunk/src/apps/terminal/TerminalRoster.cpp    2011-03-01 18:00:28 UTC 
(rev 40762)
@@ -257,7 +257,6 @@
 
        // remove our info and update the clipboard
        fInfos.RemoveItem(fOurInfo);
-       delete fOurInfo;
        fOurInfo = NULL;
 
        _UpdateClipboard();


Other related posts: