Commit 5c933c90 authored by vaclav's avatar vaclav
Browse files

fix memory to NULL

parent 8d74dcff
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2293,6 +2293,11 @@ static ivas_error ivas_jbm_dec_tc_audio_allocate(
        {
            hTcBuffer->tc[ch_idx] = NULL;
        }

        for ( ch_idx = 0; ch_idx < MAX_TRANSPORT_CHANNELS; ch_idx++ )
        {
            hTcBuffer->tc_buffer_old[ch_idx] = NULL;
        }
    }

    return IVAS_ERR_OK;