commit | dc85aaed64804205c476d06cebe4c94f66fd8a20 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Oct 01 12:46:07 2015 +0300 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Oct 05 21:11:25 2015 +1100 |
tree | f10c338a4e927857280b22fcc1138ef5aac54cf5 | |
parent | 948ad1acaf456b7213731cd9eb58654930335070 [diff] |
powerpc/pseries: fix a potential memory leak In case we have a full node name like /foo/bar and /foo is not found the parent_path left unfreed. So, free a memory before return to a caller. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>