commit | d560aac633d16d8a9a3112afe9adcbcabbfb3a19 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Sat Nov 19 00:47:32 2016 +0800 |
committer | Lei YU <mine260309@gmail.com> | Sat Nov 19 05:23:19 2016 +0800 |
tree | acf3049d0877313ff363102680f06c72248e1232 | |
parent | 0475f65f5feb9381ef2710dca96b545546ccd944 [diff] |
Initialize GError* to NULL before calling g_dbus_proxy_new_syn This fixes the crash issue of power_control when manually build and replace executable or library. The reason why it does not crash on a full OpenBMC build may be due to the prelink clear the stack (not sure). Fixes openbmc/openbmc#818. Change-Id: I17b0e2188ebe14815d67a7f07eba4906bde75e3c Signed-off-by: Lei YU <mine260309@gmail.com>