[tracker/tracker-0.8] libtracker-client: Add missing va_end() call.
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] libtracker-client: Add missing va_end() call.
- Date: Thu, 6 May 2010 17:56:09 +0000 (UTC)
commit dbca17d2e868e78085a30d69dc2e94401438b3c5
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue May 4 13:40:20 2010 +0200
libtracker-client: Add missing va_end() call.
src/libtracker-client/tracker.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-client/tracker.c b/src/libtracker-client/tracker.c
index 0eace7d..57f71c6 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -692,8 +692,10 @@ tracker_uri_vprintf_escaped (const gchar *format,
output1 = g_strdup_vprintf (format1->str, args);
va_end (args);
- if (!output1)
+ if (!output1) {
+ va_end (args2);
goto cleanup;
+ }
output2 = g_strdup_vprintf (format2->str, args2);
va_end (args2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]