diff -r 5d03bc08d59c -r 01a6848ebfd7 graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c --- a/graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c Tue Feb 02 01:47:50 2010 +0200 +++ b/graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c Fri Apr 16 16:21:04 2010 +0300 @@ -1,4 +1,4 @@ -/* Copyright (c) 2009 The Khronos Group Inc. +/* Copyright (c) 2009-2010 The Khronos Group Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the @@ -141,6 +141,8 @@ { static WFCint nextElementHandle = FIRST_ELEMENT_HANDLE; WFC_ELEMENT* element; + + OWF_ASSERT(context); element = (WFC_ELEMENT*)OWF_Pool_GetObject(context->elementPool);