This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]