telepathy-glib: base-client: fix potential uninitialized variable bug
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Mon May 26 05:11:00 PDT 2014
Module: telepathy-glib
Branch: master
Commit: ae627c03b209c521cf6c2f17b9d22fc44a6cd207
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=ae627c03b209c521cf6c2f17b9d22fc44a6cd207
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Mon May 26 13:46:54 2014 +0200
base-client: fix potential uninitialized variable bug
---
telepathy-glib/base-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c
index dbe153f..600f292 100644
--- a/telepathy-glib/base-client.c
+++ b/telepathy-glib/base-client.c
@@ -2604,7 +2604,7 @@ _tp_base_client_add_request (TpSvcClientInterfaceRequests *iface,
{
TpBaseClient *self = TP_BASE_CLIENT (iface);
TpChannelRequest *request;
- TpAccount *account;
+ TpAccount *account = NULL;
GError *error = NULL;
channel_request_prepare_account_ctx *ctx;
GArray *account_features;
More information about the telepathy-commits
mailing list