OSDN Git Service

SurfaceControl: free ref when not used anymore
authorThierry Strudel <thierry.strudel@intel.com>
Fri, 22 Aug 2014 18:19:09 +0000 (11:19 -0700)
committerPat Tjin <pattjin@google.com>
Fri, 22 Aug 2014 19:48:27 +0000 (19:48 +0000)
commit5474f3396a963196fa6dc05add85429e2358ec1a
tree831c1db3eadd13248428a831793968095d022206
parentf9220b39533d18b6c79099c32522b3ff712ff89b
SurfaceControl: free ref when not used anymore

C standard does not ensure order in which arguments are evaluated leading to
faulty behavior in x86 case.

Bug: 17206275

Change-Id: I6553c55bcf646d93413135aed733f20b91852735
Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
core/jni/android_view_SurfaceControl.cpp