changeset 21990:d309d662a32c

Fix an infinite loop. Fixes #4486.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 04 Jan 2008 22:57:51 +0000
parents bba84ed2c44d
children cca516eb7610
files COPYRIGHT pidgin/gtkblist.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Fri Jan 04 22:48:25 2008 +0000
+++ b/COPYRIGHT	Fri Jan 04 22:57:51 2008 +0000
@@ -151,6 +151,7 @@
 Michael Golden
 Charlie Gordon
 Ryan C. Gordon
+Konrad Gräfe
 Miah Gregory
 David Grohmann
 Christian Hammond
--- a/pidgin/gtkblist.c	Fri Jan 04 22:48:25 2008 +0000
+++ b/pidgin/gtkblist.c	Fri Jan 04 22:57:51 2008 +0000
@@ -7008,7 +7008,8 @@
 	pidgin_blist_update_sort_methods();
 }
 
-void pidgin_blist_sort_method_unreg(const char *id){
+void pidgin_blist_sort_method_unreg(const char *id)
+{
 	GList *l = pidgin_blist_sort_methods;
 
 	while(l) {
@@ -7020,6 +7021,7 @@
 			g_free(method);
 			break;
 		}
+		l = l->next;
 	}
 	pidgin_blist_update_sort_methods();
 }