discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c8c9da3e197ac1e8f8d47735088473ee7eb9d957

commit c8c9da3e197ac1e8f8d47735088473ee7eb9d957
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Apr 22 21:11:51 2015 -0400

    ecore-drm: fix uninitialized output mode pointers when creating outputs
---
 src/lib/ecore_drm/ecore_drm_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index b59a66b..c07efc6 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -400,7 +400,7 @@ _ecore_drm_output_create(Ecore_Drm_Device *dev, drmModeRes 
*res, drmModeConnecto
    drmModeCrtc *crtc;
    drmModeEncoder *enc;
    drmModeModeInfo crtc_mode;
-   Ecore_Drm_Output_Mode *mode, *current, *preferred, *best;
+   Ecore_Drm_Output_Mode *mode, *current = NULL, *preferred = NULL, *best = 
NULL;
    Eina_List *l;
 
    /* try to find a crtc for this connector */

-- 


Reply via email to