commit | 1eaea4f4c39f775a04efd2ae504f241e01877882 | [log] [tgz] |
---|---|---|
author | vishwa <vishwanath@in.ibm.com> | Fri Feb 26 11:57:40 2016 -0600 |
committer | vishwa <vishwanath@in.ibm.com> | Thu Mar 03 03:49:01 2016 -0600 |
tree | 38780626edb4f472602700435be3014b04ccfec9 | |
parent | 4bc8baeadbcc3cda3c2106e163fe4249f4ce3ff2 [diff] [blame] |
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---
diff --git a/sensorhandler.C b/sensorhandler.C index d171bf5..90bfd0f 100644 --- a/sensorhandler.C +++ b/sensorhandler.C
@@ -221,7 +221,7 @@ } - sd_bus_message_unref(reply); + reply = sd_bus_message_unref(reply); return rc; }