Change-Id: If9a855b346de1706e98bb2c5ec024d656a4b604c
_handle->current_delay_count = 0;
}
_handle->src_buffer = (void *)realloc(_handle->src_buffer, (_handle->current_buffer_count + 1) * sizeof(void *));
- _handle->src_buffer[_handle->current_buffer_count] = (void *)src_buffer;
+
+ if (_handle->src_buffer != NULL)
+ _handle->src_buffer[_handle->current_buffer_count] = (void *)src_buffer;
} else {
if (_handle->src_buffer == NULL)
_handle->src_buffer = (void *)calloc(1, sizeof(void *));