dont segv if get text prop fails and stack has garbage on it
SVN revision: 15529
This commit is contained in:
parent
ee61e32cbd
commit
b89cbfc687
|
@ -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))
|
if (XGetTextProperty(_ecore_x_disp, win, &xtp, type))
|
||||||
{
|
{
|
||||||
int items;
|
int items;
|
||||||
char **list;
|
char **list = NULL;
|
||||||
Status s;
|
Status s;
|
||||||
|
|
||||||
if (xtp.encoding == ECORE_X_ATOM_UTF8_STRING)
|
if (xtp.encoding == ECORE_X_ATOM_UTF8_STRING)
|
||||||
|
|
Loading…
Reference in New Issue