diff pidgin/gtkconv-theme.c @ 32684:459ffa11348e

Fix a leak. This strdup shouldn't be here.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 24 Sep 2011 21:19:26 +0000
parents a7f0fdce9a0e
children 7ccd24d49904
line wrap: on
line diff
--- a/pidgin/gtkconv-theme.c	Sat Sep 24 21:18:17 2011 +0000
+++ b/pidgin/gtkconv-theme.c	Sat Sep 24 21:19:26 2011 +0000
@@ -673,7 +673,7 @@
 
 	priv = PIDGIN_CONV_THEME_GET_PRIVATE(theme);
 
-	return g_strdup(priv->variant);
+	return priv->variant;
 }
 
 void