Fix memory leak in WifiNative

String created with GetStringUTFChars is not
released causing a memory leak.

Use ScopedUtfChars instead to ensure that memory is released.

GetByteArrayElements does not free allocated memory, call
ReleaseByteArrayElements to free up memory.

Change-Id: Ifd5330fa4cf190818319a7899de0cc5e2ccb2a53
1 file changed
tree: 05fa63e44a7ce9d016f36f8e4aab067f95fb1d58
  1. service/