Small fixes in init voice context, found during "merge testing"

This commit is contained in:
Klaus Basan
2014-06-13 13:47:36 +02:00
parent ce55bf49c7
commit c8bf23bf86
4 changed files with 15 additions and 9 deletions

View File

@@ -221,7 +221,7 @@ namespace BlackCore
*/
static inline void cleanup(Cvatlib_Voice_Simple *pointer)
{
pointer->Destroy();
if (pointer) pointer->Destroy();
}
};