Change-Id: Ieea4beecaa9e22bfbebb742390568d35301e090a
static void
_tdm_display_destroy_caps_pp(tdm_caps_pp *caps_pp)
{
- if (caps_pp->formats)
+ if (caps_pp->formats)
free(caps_pp->formats);
memset(caps_pp, 0, sizeof(tdm_caps_pp));
static void
_tdm_display_destroy_caps_capture(tdm_caps_capture *caps_capture)
{
- if (caps_capture->formats)
+ if (caps_capture->formats)
free(caps_capture->formats);
memset(caps_capture, 0, sizeof(tdm_caps_capture));
if (!private_capture)
return;
- private_display = private_capture->private_display;
+ private_display = private_capture->private_display;
LIST_DEL(&private_capture->link);
LIST_DEL(&private_capture->display_link);