This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] proc-service.c/ps_plog: call va_end
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 28 Feb 2011 14:11:51 -0800
- Subject: [commit] proc-service.c/ps_plog: call va_end
Checked in.
2011-02-28 Michael Snyder <msnyder@vmware.com>
* proc-service.c (ps_plog): Call va_end before return.
Index: proc-service.c
===================================================================
RCS file: /cvs/src/src/gdb/proc-service.c,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 proc-service.c
--- proc-service.c 1 Jan 2011 15:33:13 -0000 1.23
+++ proc-service.c 28 Feb 2011 22:09:22 -0000
@@ -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