One less warning

Change-Id: Icdf2608c9ddda1cae846cd1ff4e66058fdabbcfb
libsysutils: fix null pointer and memory leak issue

In SocketClient::quoteArg function
1. Fix potential null pointer accessing issue
2. Fix potential memory leak introduced by realloc fail

Change-Id: I1ca0f9089290d43452e9a71428244545f4ed866b
Signed-off-by: Hong-Mei Li <a21834@motorola.com>
Inline with kernel.

Change-Id: Idd0499eb28e814d32228131eccbb4a5d4795e0e2
Signed-off-by: Derek Cannata <thederekjay@gmail.com>