aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-service.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-02-28 22:11:02 +0000
committerMichael Snyder <msnyder@vmware.com>2011-02-28 22:11:02 +0000
commit0480cefa09d877efdf739625165cf72ef91c710c (patch)
tree281c695e38678a1af76c6553d3d4c044acfcac9b /gdb/proc-service.c
parent9f72fee2a6fb291aae34d0956f53231c2b17bea3 (diff)
downloadgdb-0480cefa09d877efdf739625165cf72ef91c710c.zip
gdb-0480cefa09d877efdf739625165cf72ef91c710c.tar.gz
gdb-0480cefa09d877efdf739625165cf72ef91c710c.tar.bz2
2011-02-28 Michael Snyder <msnyder@vmware.com>
* proc-service.c (ps_plog): Call va_end before return.
Diffstat (limited to 'gdb/proc-service.c')
-rw-r--r--gdb/proc-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/proc-service.c b/gdb/proc-service.c
index 1ca6ef8..5a25113 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