Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d89c2bb6 authored by Haixia Shi's avatar Haixia Shi
Browse files

libgui: Fix missing va_end in Surface::hook_perform()

BUG=23667255
TEST=libgui builds and volantis still works

Change-Id: I01de6ade6a47072c3a32c3eedc8568b1fd571363
parent 0c359bfe
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -184,7 +184,9 @@ int Surface::hook_perform(ANativeWindow* window, int operation, ...) {
    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) {