Improve modules interface (check allocated memory)

This commit is contained in:
jfmcarreira committed 2014-03-23 17:02:22 +00:00
1 parent ea4e68e96b
commit a98aa68221
3 files changed
+14 -5

No files matched your search

+5 -2
View File
@@ -55,8 +55,11 @@ enum __PlaYUVerModuleRequirements
{ \
if( USE_##X ) \
{ \
X *pMod = new X(); \
appendModule( pMod ); \
if( bCreate ) \
{ \
X *pMod = new X(); \
appendModule( pMod ); \
} \
} \
}