- else if(_lxml->tp[j] == XML_ATTR)
- {
- if((_lxml->el[j])&&(strcasecmp(_lxml->el[j],"name") == 0))
- {
- if(!_lxml->ct[j])
- break;
-
- /* If not used, it will be cleaned latter */
- snprintf(_lxml->err, 128, "XML_ERR: Memory error");
-
- var = (char**)realloc(var,(s+1)*sizeof(char *));
- if(var == NULL)
- return (-1);
-
- var[s] = strdup(_lxml->ct[j]);
- if(var[s] == NULL)
- return(-1);
-
- /* Cleaning the lxml->err */
- strncpy(_lxml->err," ", 3);
+ /* Clean the lxml->err */
+ strncpy(_lxml->err, " ", 3);