diff options
| author | Prakash Kamliya <pkamliya@codeaurora.org> | 2017-05-25 19:48:44 +0530 |
|---|---|---|
| committer | Prakash Kamliya <pkamliya@codeaurora.org> | 2017-05-31 15:36:34 +0530 |
| commit | 0bcaa07af26c3748fe4f838f69f2234b047bdb25 (patch) | |
| tree | 7a6238053eb689d8bb8d358e95c7d48998d0bc0d /net/unix/af_unix.c | |
| parent | 6cec3ff5ebf94071c991cc350fbb42fab028a306 (diff) | |
drm/msm: fix leak in failed get_pages
get_pages doesn't keep a reference of the pages allocated
when it fails later in the code path. This can lead to
a memory leak. Keep reference of the allocated pages so
that it can be freed when msm_gem_free_object gets called
later during cleanup.
Change-Id: I44dea20e10c056c1c5e80d01bab0a274ff768b1c
Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
