commit | 5e160e1651a908701a14d7fbd026580162efdb8a | [log] [tgz] |
---|---|---|
author | Haixia Shi <hshi@google.com> | Mon Sep 14 18:13:29 2015 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Sep 14 18:13:29 2015 +0000 |
tree | 5695161078070e57469f7890cc154141cefe4ed4 | |
parent | 6ffcb0097e5f000eda39f12f91766a27d772e120 [diff] | |
parent | d89c2bb6d265c653d3e1d2d94177c75636760abd [diff] |
Merge "libgui: Fix missing va_end in Surface::hook_perform()"
diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index 27f7ed6..de5c275 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp
@@ -184,7 +184,9 @@ va_list args; va_start(args, operation); Surface* c = getSelf(window); - return c->perform(operation, args); + int result = c->perform(operation, args); + va_end(args); + return result; } int Surface::setSwapInterval(int interval) {