Fix a memory leak for ENCIOC_GETSTRING I introduced in r360171.
MFC after: 1 week Sponsored by: DARPA