diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/audio.c b/audio/audio.c index 9ce2299695..7d715332c9 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -1345,6 +1345,12 @@ static void free_audio_state(AudioState *s) qapi_free_Audiodev(s->dev); s->dev = NULL; } + + if (s->ts) { + timer_free(s->ts); + s->ts = NULL; + } + g_free(s); } |