[Haiku-commits] r31121 - haiku/trunk/src/apps/debugger

bonefish at BerliOS bonefish at mail.berlios.de
Fri Jun 19 19:29:39 CEST 2009


Author: bonefish
Date: 2009-06-19 19:29:39 +0200 (Fri, 19 Jun 2009)
New Revision: 31121
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=31121&view=rev

Modified:
   haiku/trunk/src/apps/debugger/Jobs.cpp
Log:
We already have a reference and want to get rid of it.


Modified: haiku/trunk/src/apps/debugger/Jobs.cpp
===================================================================
--- haiku/trunk/src/apps/debugger/Jobs.cpp	2009-06-19 17:28:33 UTC (rev 31120)
+++ haiku/trunk/src/apps/debugger/Jobs.cpp	2009-06-19 17:29:39 UTC (rev 31121)
@@ -43,7 +43,7 @@
 	status_t error = fDebuggerInterface->GetCpuState(fThread->ID(), state);
 	if (error != B_OK)
 		return error;
-	Reference<CpuState> reference(state);
+	Reference<CpuState> reference(state, true);
 
 	AutoLocker<Team> locker(fThread->GetTeam());
 




More information about the Haiku-commits mailing list