diff options
Diffstat (limited to 'src/control/hcontrol.c')
-rw-r--r-- | src/control/hcontrol.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/control/hcontrol.c b/src/control/hcontrol.c index 635f526f..5d20e740 100644 --- a/src/control/hcontrol.c +++ b/src/control/hcontrol.c @@ -606,8 +606,7 @@ int snd_hctl_load(snd_hctl_t *hctl) } err = snd_ctl_subscribe_events(hctl->ctl, 1); _end: - if (list.pids) - free(list.pids); + free(list.pids); return err; } |