[commit] r1897 - trunk/GME/Core

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Apr 17 16:36:54 CDT 2012


Author: ksmyth
Date: Tue Apr 17 16:36:54 2012
New Revision: 1897

Log:
Initialize members (fixes DrMemory warnings on copy constructor)

Modified:
   trunk/GME/Core/CoreAttribute.cpp

Modified: trunk/GME/Core/CoreAttribute.cpp
==============================================================================
--- trunk/GME/Core/CoreAttribute.cpp	Tue Apr 17 16:36:44 2012	(r1896)
+++ trunk/GME/Core/CoreAttribute.cpp	Tue Apr 17 16:36:54 2012	(r1897)
@@ -265,6 +265,8 @@
 
 CCoreLockAttribute::CCoreLockAttribute()
 {
+	original_locking = 0;
+	others_lockval = 0;
 	read_count = 0;
 	write_count = 0;
 	others_lockval = 0;


More information about the gme-commit mailing list