From: Darren S. <ds...@us...> - 2005-06-29 18:28:44
|
Update of /cvsroot/xine/gnome-xine/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10334/src Modified Files: Tag: gxine-0_4_2-branch engine.c server.c utils.c Log Message: Added va_end() where needed. Index: engine.c =================================================================== RCS file: /cvsroot/xine/gnome-xine/src/engine.c,v retrieving revision 1.11 retrieving revision 1.11.2.1 diff -u -r1.11 -r1.11.2.1 --- engine.c 13 Jan 2005 19:49:09 -0000 1.11 +++ engine.c 29 Jun 2005 18:28:32 -0000 1.11.2.1 @@ -44,6 +44,7 @@ printf (_("engine: < ")); va_start (ap, str); vprintf (str, ap); + va_end (ap); } } Index: server.c =================================================================== RCS file: /cvsroot/xine/gnome-xine/src/server.c,v retrieving revision 1.13 retrieving revision 1.13.2.1 diff -u -r1.13 -r1.13.2.1 --- server.c 3 Jan 2005 22:06:04 -0000 1.13 +++ server.c 29 Jun 2005 18:28:32 -0000 1.13.2.1 @@ -146,6 +146,7 @@ va_list ap; va_start (ap, msg); amsg = g_strdup_vprintf (msg, ap); + va_end (ap); sock_write (fd, amsg); sock_write (fd, "\n\n"); Index: utils.c =================================================================== RCS file: /cvsroot/xine/gnome-xine/src/utils.c,v retrieving revision 1.50.2.1 retrieving revision 1.50.2.2 diff -u -r1.50.2.1 -r1.50.2.2 --- utils.c 24 May 2005 17:10:44 -0000 1.50.2.1 +++ utils.c 29 Jun 2005 18:28:32 -0000 1.50.2.2 @@ -428,6 +428,7 @@ va_start (ap, fmt); ret = g_strdup_vprintf (fmt, ap); + va_end (ap); free (*str); return *str = ret; } |