Fixed a segfault in libprocess.

Review: https://reviews.apache.org/r/22247