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

Commit 6de1c53c authored by Adam Buchbinder's avatar Adam Buchbinder Committed by Android (Google) Code Review
Browse files

Merge "Add missing va_end() calls in some variadic functions."

parents fe7d6a74 8ede547c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -663,6 +663,7 @@ int run_command(const char *title, int timeout_seconds, const char *command, ...
        std::string cmd;
        format_args(command, args, &cmd);
        MYLOGE("skipping command %s because its args were not NULL-terminated", cmd.c_str());
        va_end(ap);
        return -1;
    }

@@ -700,6 +701,7 @@ int run_command_as_shell(const char *title, int timeout_seconds, const char *com
        std::string cmd;
        format_args(command, args, &cmd);
        MYLOGE("skipping command %s because its args were not NULL-terminated", cmd.c_str());
        va_end(ap);
        return -1;
    }