Fixed compile issue

This commit is contained in:
Andreas Eversberg 2021-03-28 12:53:50 +02:00
parent f90f421b16
commit 9ae3bfcbc5
1 changed files with 2 additions and 0 deletions

View File

@ -170,10 +170,12 @@ int telephone_init(telephone_t *telephone_ep, const char *name, const char *call
static void telephone_close(telephone_t *telephone_ep)
{
#ifdef HAVE_ALSA
if (telephone_ep->sound) {
sound_close(telephone_ep->sound);
telephone_ep->sound = NULL;
}
#endif
}
/*