[Haiku-commits] r31136 - haiku/trunk/src/kits/interface

stippi at mail.berlios.de stippi at mail.berlios.de
Sat Jun 20 17:00:36 CEST 2009


Author: stippi
Date: 2009-06-20 17:00:33 +0200 (Sat, 20 Jun 2009)
New Revision: 31136
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=31136&view=rev

Modified:
   haiku/trunk/src/kits/interface/ListView.cpp
Log:
* Added NOTE to BListView destructor about not freeing the items.


Modified: haiku/trunk/src/kits/interface/ListView.cpp
===================================================================
--- haiku/trunk/src/kits/interface/ListView.cpp	2009-06-20 15:00:11 UTC (rev 31135)
+++ haiku/trunk/src/kits/interface/ListView.cpp	2009-06-20 15:00:33 UTC (rev 31136)
@@ -129,6 +129,7 @@
 
 BListView::~BListView()
 {
+	// NOTE: According to BeBook, BListView does not free the items itself.
 	delete fTrack;
 	SetSelectionMessage(NULL);
 }




More information about the Haiku-commits mailing list