diff finch/libgnt/gntstyle.c @ 15964:8a54f74fecdf

plug some leaks
author Richard Nelson <wabz@pidgin.im>
date Thu, 29 Mar 2007 02:35:54 +0000
parents 0e3a8505ebbe
children 56d2ae9cbb5c 8410511f4dbb 08e93462f189
line wrap: on
line diff
--- a/finch/libgnt/gntstyle.c	Thu Mar 29 01:27:40 2007 +0000
+++ b/finch/libgnt/gntstyle.c	Thu Mar 29 02:35:54 2007 +0000
@@ -218,9 +218,8 @@
 	{
 		for (i = 0; styles[i].style; i++)
 		{
-			error = NULL;
 			str_styles[styles[i].en] =
-					g_key_file_get_string(kfile, "general", styles[i].style, &error);
+					g_key_file_get_string(kfile, "general", styles[i].style, NULL);
 		}
 	}
 	g_strfreev(keys);