On 12/18/22 09:15, Volker Rümelin wrote:
Replace audio_calloc() with the equivalent g_new0().

With a n_structs argument of 1, g_new0() never returns NULL.
Also remove the unnecessary NULL checks.

Signed-off-by: Volker Rümelin<vr_q...@t-online.de>
---
  audio/audio.c          | 5 -----
  audio/audio_template.h | 6 +-----
  audio/mixeng.c         | 7 +------
  3 files changed, 2 insertions(+), 16 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to