src/accountopt.c

changeset 13234
1d8e569b2053
parent 12172
717fa0ec02c4
child 14097
0c340861ab79
--- a/src/accountopt.c	Sat Feb 11 19:07:49 2006 +0000
+++ b/src/accountopt.c	Sat Feb 11 19:16:38 2006 +0000
@@ -114,16 +114,12 @@
 {
 	g_return_if_fail(option != NULL);
 
-	if (option->text != NULL)
-		g_free(option->text);
-
-	if (option->pref_name != NULL)
-		g_free(option->pref_name);
+	g_free(option->text);
+	g_free(option->pref_name);
 
 	if (option->type == GAIM_PREF_STRING)
 	{
-		if (option->default_value.string != NULL)
-			g_free(option->default_value.string);
+		g_free(option->default_value.string);
 	}
 	else if (option->type == GAIM_PREF_STRING_LIST)
 	{

mercurial