diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-10-01 12:46:07 +0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-10-05 21:11:25 +1100 |
| commit | dc85aaed64804205c476d06cebe4c94f66fd8a20 (patch) | |
| tree | f10c338a4e927857280b22fcc1138ef5aac54cf5 /scripts/gdb/linux/utils.py | |
| 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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
