e_output_hwc: do not check the null 50/172550/2
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 14 Mar 2018 10:37:42 +0000 (19:37 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 16 Mar 2018 01:44:52 +0000 (01:44 +0000)
Change-Id: Ifff49dbf93ea27617d1ba4946134026317d913d9

src/bin/e_output_hwc.c

index 9eb9089250e2d3bd4c96e243c771042648f64019..197259e778c5015b48c9fe11023c4f650235f0eb 100644 (file)
@@ -276,7 +276,7 @@ e_output_hwc_new(E_Output *output)
    return output_hwc;
 
 fail:
-   if (output_hwc) E_FREE(output_hwc);
+   E_FREE(output_hwc);
 
    return NULL;
 }