dont segv if get text prop fails and stack has garbage on it

SVN revision: 15529
This commit is contained in:
Carsten Haitzler 2005-06-25 00:15:19 +00:00
parent ee61e32cbd
commit b89cbfc687
1 changed files with 1 additions and 1 deletions

View File

@ -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)