comparison 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
comparison
equal deleted inserted replaced
32683:a7f0fdce9a0e 32684:459ffa11348e
671 671
672 g_return_val_if_fail(theme != NULL, NULL); 672 g_return_val_if_fail(theme != NULL, NULL);
673 673
674 priv = PIDGIN_CONV_THEME_GET_PRIVATE(theme); 674 priv = PIDGIN_CONV_THEME_GET_PRIVATE(theme);
675 675
676 return g_strdup(priv->variant); 676 return priv->variant;
677 } 677 }
678 678
679 void 679 void
680 pidgin_conversation_theme_set_variant(PidginConvTheme *theme, const char *variant) 680 pidgin_conversation_theme_set_variant(PidginConvTheme *theme, const char *variant)
681 { 681 {