forked from enlightenment/efl
Check for null before parsing begins.
SVN revision: 26055
This commit is contained in:
parent
c544fca4d5
commit
2a42c7e2f5
|
@ -71,7 +71,7 @@ ecore_desktop_xmlame_get(char *file)
|
||||||
static char *
|
static char *
|
||||||
_ecore_desktop_xmlame_parse(Ecore_Desktop_Tree * tree, char *buffer)
|
_ecore_desktop_xmlame_parse(Ecore_Desktop_Tree * tree, char *buffer)
|
||||||
{
|
{
|
||||||
do
|
while (*buffer != '\0')
|
||||||
{
|
{
|
||||||
char *text;
|
char *text;
|
||||||
|
|
||||||
|
@ -130,7 +130,6 @@ _ecore_desktop_xmlame_parse(Ecore_Desktop_Tree * tree, char *buffer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (*buffer != '\0');
|
|
||||||
|
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue