changeset 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 9d5b87e1a4d0 5a379d8a72c1
files pidgin/gtkconv-theme.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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