diff options
author | Taylor Holberton <taylorcholbrcholberton@gmail.com> | 2020-06-03 09:47:50 -0400 |
---|---|---|
committer | Taylor Holberton <taylorcholbrcholberton@gmail.com> | 2020-06-03 09:47:50 -0400 |
commit | ab224a09018d7547eff304c44e4b2334d87aea3b (patch) | |
tree | e9e34662a898022364fa797692e22471d2bc7a00 | |
parent | 1a53e3a9daa9ea7226c2884c6ad45c31a146c9fe (diff) |
Fix memory leak
-rw-r--r-- | src/mixer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mixer.c b/src/mixer.c index c8480d7..94aa019 100644 --- a/src/mixer.c +++ b/src/mixer.c @@ -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; } |