commit | bf87258189b0ca6e6273cf20c27af7dfc2599ce7 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Tue May 15 16:05:47 2018 -0700 |
committer | George Burgess IV <gbiv@google.com> | Tue May 15 16:09:23 2018 -0700 |
tree | f0f154873c02a70a14bdfb37ba4ada0099cd457f | |
parent | a1b34a8173609094df0e124ecca19b619fc19a41 [diff] |
Fix a memory leak If setpriority failed, we wouldn't free this. Just use a unique_ptr to handle the lifetime for us. Caught by the static analyzer. Bug: None Test: Built. Static analyzer seems happy now. Change-Id: I10d3e8ff8ba0c10a43d21d9002d73134cef18651