/soc/2015/jgeboski/facebook: 5fb3e4d02954: facebook: fixed poten...

James Geboski jgeboski at gmail.com
Tue Jun 23 17:16:15 EDT 2015


Changeset: 5fb3e4d02954904187d7b3a3c60bdd24468872c5
Author:	 James Geboski <jgeboski at gmail.com>
Date:	 2015-06-15 08:17 -0400
Branch:	 facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/5fb3e4d02954

Description:

facebook: fixed potential segfault on HTTP error

diffstat:

 libpurple/protocols/facebook/facebook.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/facebook/facebook.c b/libpurple/protocols/facebook/facebook.c
--- a/libpurple/protocols/facebook/facebook.c
+++ b/libpurple/protocols/facebook/facebook.c
@@ -72,7 +72,7 @@ fb_cb_icon_fetch(PurpleHttpConnection *c
 	const gchar *str;
 	FbApi *api;
 	FbHttpParams *params;
-	GError *err;
+	GError *err = NULL;
 	gsize size;
 	guchar *idata;
 	PurpleAccount *acct;



More information about the Commits mailing list