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
1 file changed