[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] N/A
[cause] N/A
[solution] N/A
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I8a3c7365856643bc3ef8a9251ccf3ebcba566e58
int lb_set_content(struct livebox *handler, const char *content)
{
if (handler->content) {
- DbgPrint("Release content: %s\n", content);
free(handler->content);
handler->content = NULL;
}
if (content) {
- DbgPrint("Update Content: [%s]\n", content);
handler->content = strdup(content);
if (!handler->content) {
CRITICAL_LOG("Heap: %s (content: %s)\n", strerror(errno), content);