Commit 8788ede2 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix double free in split-rendering smoke tests

parent 6e44b2b2
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -1677,7 +1677,12 @@ ivas_error IVAS_DEC_GetSplitBinauralBitstream(
            ivas_syn_output( pOutput, numSamplesPerChannelToDecode, st_ivas->hDecoderConfig->nchan_out, (int16_t *) pcmBuf_out );
    }

#ifdef OBJ_EDITING_API
    if ( *needNewFrame )
#endif
    {
        free( st_ivas->hSplitBinRend->hMultiBinCldfbData );
    }

    return error;
}