diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c b/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c index eab523ec61..1c456070c5 100644 --- a/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c +++ b/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c @@ -242,7 +242,7 @@ ecore_x_window_prop_string_get(Ecore_X_Window win, Ecore_X_Atom type) if (XGetTextProperty(_ecore_x_disp, win, &xtp, type)) { int items; - char **list; + char **list = NULL; Status s; if (xtp.encoding == ECORE_X_ATOM_UTF8_STRING)