Showing the changes to test/decoder/DecUT_ParseSyntax.cpp (1 of 54 files). Show all
Unified · Split
| @@ -94,7 +94,7 @@ void UninitDecoder (PWelsDecoderContext pCtx) { · 93 unmodified lines | |||
| 94 | WelsEndDecoder (pCtx); | 94 | WelsEndDecoder (pCtx); |
| 95 | if (NULL != pCtx) { | 95 | if (NULL != pCtx) { |
| 96 | free (pCtx); | 96 | free (pCtx); |
| 97 | pCtx = NULL; | 97 | pCtx = NULL; |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | } | 100 | } |
| @@ -160,7 +160,7 @@ void DecoderParseSyntaxTest::Init() { · 59 unmodified lines | |||
| 160 | // | 160 | // |
| 161 | m_pCtx = (PWelsDecoderContext)malloc (sizeof (SWelsDecoderContext)); | 161 | m_pCtx = (PWelsDecoderContext)malloc (sizeof (SWelsDecoderContext)); |
| 162 | 162 | ||
| 163 | m_pWelsTrace = new welsCodecTrace(); | 163 | m_pWelsTrace = new welsCodecTrace(); |
| 164 | if (m_pWelsTrace != NULL) { | 164 | if (m_pWelsTrace != NULL) { |
| 165 | m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR); | 165 | m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR); |
| 166 | } | 166 | } |