diff --git a/src/conddebug.cpp b/src/conddebug.cpp index c08519c8..3775d2b0 100644 --- a/src/conddebug.cpp +++ b/src/conddebug.cpp @@ -400,9 +400,12 @@ Condition* Term(const char** str) Condition* t1; Condition* mid; - t = (Condition*)FCEU_dmalloc(sizeof(Condition)); - if (!t) - return NULL; + t = (Condition*)FCEU_dmalloc(sizeof(Condition)); + + if (!t) + { + return NULL; + } memset(t, 0, sizeof(Condition));