[commit] r2529 - trunk/GME/Meta

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Sep 17 11:13:42 CDT 2014


Author: ksmyth
Date: Wed Sep 17 11:13:42 2014
New Revision: 2529

Log:
Fix crash with NULL BSTR

Modified:
   trunk/GME/Meta/MgaMetaRegNode.cpp

Modified: trunk/GME/Meta/MgaMetaRegNode.cpp
==============================================================================
--- trunk/GME/Meta/MgaMetaRegNode.cpp	Wed Sep 17 11:13:38 2014	(r2528)
+++ trunk/GME/Meta/MgaMetaRegNode.cpp	Wed Sep 17 11:13:42 2014	(r2529)
@@ -14,7 +14,7 @@
 	{
 		CCoreObjectPtr self(me);
 
-		std::wstring path = bpath;
+		std::wstring path = bpath ? bpath : L"";
 
 		CComObjPtr<ICoreProject> coreproject;
 		COMTHROW( self->get_Project(PutOut(coreproject)) );


More information about the gme-commit mailing list