2011-02-28 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 28 Feb 2011 22:11:02 +0000 (22:11 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 28 Feb 2011 22:11:02 +0000 (22:11 +0000)
* proc-service.c (ps_plog): Call va_end before return.

gdb/ChangeLog
gdb/proc-service.c

index c0938a4c962f1734d605eb604cdf7279c17ed346..3ca7412f9feabe8821d4052462fc7ee7ce7464e6 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-28  Michael Snyder  <msnyder@vmware.com>
+
+       * proc-service.c (ps_plog): Call va_end before return.
+
 2011-02-28  Tom Tromey  <tromey@redhat.com>
 
        * python/python.c (gdbpy_value_cst): New global.
index 1ca6ef8f0f98051a88470a5529c3be0d369d63f9..5a25113f53cdfcc5ae71daafd89eb871c3cdb771 100644 (file)
@@ -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
This page took 0.029152 seconds and 4 git commands to generate.