commit | 52b80282d113269b57123915c4ea36af7af142f1 | [log] [tgz] |
---|---|---|
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Fri Dec 02 23:58:55 2016 +0530 |
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Mon Dec 05 12:47:50 2016 +0530 |
tree | 16c9ca63604732299d84ca8f946a3558a96ae0c9 | |
parent | 6292aeed77cb97a069655d80c37d3587d0846bad [diff] |
Fix memory leak After parsing the command line arguments, ArgumentParser does a release of unique pointer which will just release the ownership. This pointer is then never cleaned up resulting in leak. Fix is to reset the unique_ptr to null Change-Id: Ifa69399e2440547947b214dc4a36c3065b6ff608 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>