core/EventManager.cpp
changeset 857 11471aa66e06
parent 792 5224d32c9f85
child 890 268bb1483fa7
     1.1 --- a/core/EventManager.cpp	Mon May 28 07:25:12 2007 +0000
     1.2 +++ b/core/EventManager.cpp	Tue May 29 08:30:13 2007 +0000
     1.3 @@ -353,7 +353,7 @@
     1.4  			pForward->PushCell(bDontBroadcast);
     1.5  			pForward->Execute(&res, NULL);
     1.6  
     1.7 -			HandleSecurity sec = { NULL, g_pCoreIdent };
     1.8 +			HandleSecurity sec(NULL, g_pCoreIdent);
     1.9  			g_HandleSys.FreeHandle(hndl, &sec);
    1.10  		}
    1.11  
    1.12 @@ -407,7 +407,7 @@
    1.13  			if (pHook->postCopy)
    1.14  			{
    1.15  				/* Free handle */
    1.16 -				HandleSecurity sec = { NULL, g_pCoreIdent };
    1.17 +				HandleSecurity sec(NULL, g_pCoreIdent);
    1.18  				g_HandleSys.FreeHandle(hndl, &sec);
    1.19  
    1.20  				/* Free event structure */