key = xmlGetProp(cur, (const xmlChar*)STT_TAG_TIME_COUNT);
if (NULL == key) {
SLOG(LOG_ERROR, stt_tag(), "[ERROR] <%s> has no content", STT_TAG_TIME_COUNT);
+ xmlFreeDoc(doc);
return -1;
}
if (NULL == temp_info) {
SLOG(LOG_ERROR, stt_tag(), "[ERROR] Memory alloc error!!");
+ xmlFreeDoc(doc);
return -1;
}