devilhorns pushed a commit to branch master.

commit 55094c9eb0fc33cf82467c2ca9ba8f6b067f6d79
Author: Chris Michael <[email protected]>
Date:   Fri Jul 26 07:06:58 2013 +0100

    Set Crtc info->outputs and info->possible to NULL initially.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_x/xlib/ecore_x_randr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/ecore_x/xlib/ecore_x_randr.c 
b/src/lib/ecore_x/xlib/ecore_x_randr.c
index 0db9ffb..d7b2164 100644
--- a/src/lib/ecore_x/xlib/ecore_x_randr.c
+++ b/src/lib/ecore_x/xlib/ecore_x_randr.c
@@ -1890,6 +1890,9 @@ ecore_x_randr_crtc_info_get(Ecore_X_Window root, const 
Ecore_X_Randr_Crtc crtc)
                   ret->noutput = info->noutput;
                   ret->npossible = info->npossible;
 
+                  ret->outputs = NULL;
+                  ret->possible = NULL;
+
                   if (info->noutput > 0)
                     {
                        if ((ret->outputs = 

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to