mirror of
https://github.com/openharmony/third_party_tinyalsa.git
synced 2026-07-19 15:24:22 -04:00
Fix memory leak
This commit is contained in:
@@ -133,6 +133,8 @@ static void mixer_grp_close(struct mixer *mixer, struct mixer_ctl_group *grp)
|
||||
free(grp->ctl);
|
||||
}
|
||||
|
||||
free(grp);
|
||||
|
||||
mixer->is_card_info_retrieved = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user