[commit] r1259 - trunk/GME/Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Apr 8 10:34:08 CDT 2011


Author: ksmyth
Date: Fri Apr  8 10:34:08 2011
New Revision: 1259

Log:
Fix COM leak

Modified:
   trunk/GME/Mga/MgaComplexOps.cpp

Modified: trunk/GME/Mga/MgaComplexOps.cpp
==============================================================================
--- trunk/GME/Mga/MgaComplexOps.cpp	Fri Apr  8 10:34:00 2011	(r1258)
+++ trunk/GME/Mga/MgaComplexOps.cpp	Fri Apr  8 10:34:08 2011	(r1259)
@@ -1312,7 +1312,7 @@
 			} MGACOLL_ITERATE_END;
 
 			VARIANT_BOOL is_equal;
-			IMgaFCO * thisptr;
+			CComPtr<IMgaFCO> thisptr;
 			getinterface( &thisptr);
 			COMTHROW( mf->get_IsEqual( thisptr, &is_equal));
 


More information about the gme-commit mailing list