Commit 9ba3dbdb authored by Jan Kiene's avatar Jan Kiene
Browse files

add missing moves

parent faa2953f
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@ ivas_error ivas_TD_RINGBUF_Open(
        return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Failed to allocate memory for TD ring buffer\n" );
    }
    h->data = NULL;
    move32();
    h->capacity = 0;
    move32();
    h->num_channels = num_channels;
@@ -119,6 +120,7 @@ ivas_error ivas_TD_RINGBUF_Open(
    h->is_full = 0;
    move16();
    *ph = h;
    move32();

    h->data = malloc( capacity * sizeof( Word32 ) );
    if ( h->data == NULL )
@@ -150,6 +152,7 @@ void ivas_TD_RINGBUF_Close(
        return;
    }
    h = *ph;
    move32();

    IF( h == NULL )
    {
@@ -163,6 +166,7 @@ void ivas_TD_RINGBUF_Close(

    free( h );
    *ph = NULL;
    move32();

    return;
}