diff options
author | vishwa <vishwanath@in.ibm.com> | 2016-02-26 11:57:40 -0600 |
---|---|---|
committer | vishwa <vishwanath@in.ibm.com> | 2016-03-03 03:49:01 -0600 |
commit | 1eaea4f4c39f775a04efd2ae504f241e01877882 (patch) | |
tree | 38780626edb4f472602700435be3014b04ccfec9 /host-services.c | |
parent | 4bc8baeadbcc3cda3c2106e163fe4249f4ce3ff2 (diff) | |
download | phosphor-host-ipmid-1eaea4f4c39f775a04efd2ae504f241e01877882.tar.gz phosphor-host-ipmid-1eaea4f4c39f775a04efd2ae504f241e01877882.zip |
memory leak found during multiple reboots. it was found that in many cases the
reply was not unref'ed
--signed off by vishwanath@in.ibm.com---
Diffstat (limited to 'host-services.c')
-rw-r--r-- | host-services.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host-services.c b/host-services.c index 23aa55e..cc47439 100644 --- a/host-services.c +++ b/host-services.c @@ -68,7 +68,7 @@ static int soft_power_off(sd_bus_message *m, void *userdata, sd_bus_error *ret_e finish: sd_bus_error_free(&bus_error); - sd_bus_message_unref(response); + response = sd_bus_message_unref(response); if(rc < 0) { |