/pidgin/main: a860609d9c9e: Fix from David Walser for a crash in...

Daniel Atallah datallah at pidgin.im
Thu Feb 14 16:58:11 EST 2013


Changeset: a860609d9c9ee20a64ca5284f7b50cbc57ae5c92
Author:	 Daniel Atallah <datallah at pidgin.im>
Date:	 2013-02-14 21:58 +0000
Branch:	 release-2.x.y
URL: http://hg.pidgin.im/pidgin/main/rev/a860609d9c9e

Description:

Fix from David Walser for a crash in the CAP plugin.

diffstat:

 pidgin/plugins/cap/cap.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/pidgin/plugins/cap/cap.c b/pidgin/plugins/cap/cap.c
--- a/pidgin/plugins/cap/cap.c
+++ b/pidgin/plugins/cap/cap.c
@@ -43,7 +43,7 @@ static double generate_prediction_for(Pu
 	int threshold = purple_prefs_get_int("/plugins/gtk/cap/threshold");
 	int min_minute = (current_minute - threshold) % 1440;
 	int max_minute = (current_minute + threshold) % 1440;
-	char *sql, sta_id = NULL;
+	char *sql, *sta_id = NULL;
 	sqlite3_stmt *stmt = NULL;
 	const char *tail = NULL;
 	int rc;



More information about the Commits mailing list