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/storageaddsel.C b/storageaddsel.C index 51edc59..cb90aab 100644 --- a/storageaddsel.C +++ b/storageaddsel.C
@@ -193,8 +193,8 @@ finish: sd_bus_error_free(&error); - sd_bus_message_unref(m); - sd_bus_message_unref(reply); + m = sd_bus_message_unref(m); + reply = sd_bus_message_unref(reply); return r; }