[LU-10890] Fix possible memory leak in liblustreapi Created: 09/Apr/18 Updated: 16/Apr/18 Resolved: 16/Apr/18 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.0, Lustre 2.10.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Thomas Stibor | Assignee: | Thomas Stibor |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | patch | ||
| Environment: |
Debian 9 |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Fix possible memory leak in llapi_dir_create namepath = strdup(name); if (!namepath) { - free(namepath); + free(dirpath); free(lmu); return -ENOMEM; } |
| Comments |
| Comment by Gerrit Updater [ 09/Apr/18 ] |
|
Thomas Stibor (t.stibor@gsi.de) uploaded a new patch: https://review.whamcloud.com/31913 |
| Comment by Thomas Stibor [ 16/Apr/18 ] |
|
This is already fixed in https://jira.hpdd.intel.com/browse/LU-10766 and landed in 2.12 |