- Variable 'reply' is allocated from 'eldbus_proxy_send_and_block()'.
- Added to eldbus_message_unref(reply) for memory free.
Change-Id: I781ae2fadd7180ae44f15e822d40b956e59171c2
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
DALI_LOG_ERROR("Unable to call method org.freedesktop.DBus.Properties.Get: %s %s",
errname, errmsg);
eldbus_message_unref(req);
DALI_LOG_ERROR("Unable to call method org.freedesktop.DBus.Properties.Get: %s %s",
errname, errmsg);
eldbus_message_unref(req);
+ if( reply )
+ {
+ eldbus_message_unref(reply);
+ }
{
DALI_LOG_ERROR("Cannot get arguments from eldbus");
eldbus_message_unref(req);
{
DALI_LOG_ERROR("Cannot get arguments from eldbus");
eldbus_message_unref(req);
+ eldbus_message_unref(reply);
return -1;
}
eldbus_message_unref(req);
return -1;
}
eldbus_message_unref(req);
+ eldbus_message_unref(reply);
DALI_LOG_ERROR("cbhm item count(%d)", count);
return count;
}
DALI_LOG_ERROR("cbhm item count(%d)", count);
return count;
}
DALI_LOG_ERROR("Unable to call method org.freedesktop.DBus.Properties.Get: %s %s",
errname, errmsg);
eldbus_message_unref(req);
DALI_LOG_ERROR("Unable to call method org.freedesktop.DBus.Properties.Get: %s %s",
errname, errmsg);
eldbus_message_unref(req);
+ if( reply )
+ {
+ eldbus_message_unref(reply);
+ }
{
DALI_LOG_ERROR("Cannot get arguments from eldbus");
eldbus_message_unref(req);
{
DALI_LOG_ERROR("Cannot get arguments from eldbus");
eldbus_message_unref(req);
+ eldbus_message_unref(reply);
return -1;
}
eldbus_message_unref(req);
return -1;
}
eldbus_message_unref(req);
+ eldbus_message_unref(reply);
DALI_LOG_ERROR("cbhm item count(%d)", count);
return count;
}
DALI_LOG_ERROR("cbhm item count(%d)", count);
return count;
}