From 0480cefa09d877efdf739625165cf72ef91c710c Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Mon, 28 Feb 2011 22:11:02 +0000 Subject: [PATCH] 2011-02-28 Michael Snyder * proc-service.c (ps_plog): Call va_end before return. --- gdb/ChangeLog | 4 ++++ gdb/proc-service.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0938a4c962..3ca7412f9fe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-02-28 Michael Snyder + + * proc-service.c (ps_plog): Call va_end before return. + 2011-02-28 Tom Tromey * python/python.c (gdbpy_value_cst): New global. diff --git a/gdb/proc-service.c b/gdb/proc-service.c index 1ca6ef8f0f9..5a25113f53c 100644 --- a/gdb/proc-service.c +++ b/gdb/proc-service.c @@ -189,6 +189,7 @@ ps_plog (const char *fmt, ...) va_start (args, fmt); vfprintf_filtered (gdb_stderr, fmt, args); + va_end (args); } /* Search for the symbol named NAME within the object named OBJ within -- 2.30.2