diff src/accountopt.c @ 13233:f09c6e8df82c

[gaim-migrate @ 15598] SF Patch #1417225 from Sadrul This reworks the conversation signals. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 11 Feb 2006 19:16:38 +0000
parents d5937f126c60
children 8bda65b88e49
line wrap: on
line diff
--- 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)
 	{