[tracker] libtracker-client: Add missing va_end() call.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-client: Add missing va_end() call.
- Date: Tue, 4 May 2010 12:54:19 +0000 (UTC)
commit b6d8acb9f4578cc4800df43ba7464a7cac039200
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 43791a4..455fb86 100644
--- a/src/libtracker-client/tracker.c
+++ b/src/libtracker-client/tracker.c
@@ -730,8 +730,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]