Blame bind-9.5-dbus-va_end.patch
|
Adam Tkac |
bbe577 |
Written-by: Peter Jones <pjones@redhat.com>
|
|
Adam Tkac |
bbe577 |
Reviewed-by: Adam Tkac <atkac@redhat.com>
|
|
Adam Tkac |
bbe577 |
|
|
Adam Tkac |
bbe577 |
--- bind-9.5.0a6/contrib/dbus/dbus_service.c.va_end 2007-10-17 14:55:10.000000000 -0400
|
|
Adam Tkac |
bbe577 |
+++ bind-9.5.0a6/contrib/dbus/dbus_service.c 2007-10-17 14:56:20.000000000 -0400
|
|
Adam Tkac |
bbe577 |
@@ -200,6 +200,7 @@ dbus_svc_add_filter
|
|
Adam Tkac |
bbe577 |
}
|
|
Adam Tkac |
bbe577 |
}
|
|
Adam Tkac |
bbe577 |
}
|
|
Adam Tkac |
bbe577 |
+ va_end(va);
|
|
Adam Tkac |
bbe577 |
return( 1 );
|
|
Adam Tkac |
bbe577 |
}
|
|
Adam Tkac |
bbe577 |
|
|
Adam Tkac |
bbe577 |
@@ -424,6 +425,7 @@ dbus_svc_message_append_args(DBusConnect
|
|
Adam Tkac |
bbe577 |
if( !dbus_message_append_args_valist( msg, firstType, va ) )
|
|
Adam Tkac |
bbe577 |
{
|
|
Adam Tkac |
bbe577 |
if( cs->eh != 0L ) (*(cs->eh))("dbus_svc_send: dbus_message_append_args failed");
|
|
Adam Tkac |
bbe577 |
+ va_end(va);
|
|
Adam Tkac |
bbe577 |
return 0;
|
|
Adam Tkac |
bbe577 |
}
|
|
Adam Tkac |
bbe577 |
va_end(va);
|
|
Adam Tkac |
bbe577 |
@@ -488,6 +490,7 @@ dbus_svc_call
|
|
Adam Tkac |
bbe577 |
va_end(va);
|
|
Adam Tkac |
bbe577 |
return(0L);
|
|
Adam Tkac |
bbe577 |
}
|
|
Adam Tkac |
bbe577 |
+ va_end(va);
|
|
Adam Tkac |
bbe577 |
return reply;
|
|
Adam Tkac |
bbe577 |
}
|
|
Adam Tkac |
bbe577 |
|