Commit 5d928867920e27d61d581710aac3a167c9e86e4f

Authored by Jean-Christophe Dubois
Committed by malc
1 parent 97f155dd

fix qemu_alloc/qemu_free for audio subsystem

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Showing 1 changed file with 2 additions and 2 deletions
audio/paaudio.c
... ... @@ -340,7 +340,7 @@ static int qpa_init_out (HWVoiceOut *hw, struct audsettings *as)
340 340 return 0;
341 341  
342 342 fail3:
343   - free (pa->pcm_buf);
  343 + qemu_free (pa->pcm_buf);
344 344 pa->pcm_buf = NULL;
345 345 fail2:
346 346 pa_simple_free (pa->s);
... ... @@ -394,7 +394,7 @@ static int qpa_init_in (HWVoiceIn *hw, struct audsettings *as)
394 394 return 0;
395 395  
396 396 fail3:
397   - free (pa->pcm_buf);
  397 + qemu_free (pa->pcm_buf);
398 398 pa->pcm_buf = NULL;
399 399 fail2:
400 400 pa_simple_free (pa->s);
... ...