pidgin: 246ce23b: Fix a leak. This strdup shouldn't be her...

qulogic at pidgin.im qulogic at pidgin.im
Sat Sep 24 17:30:23 EDT 2011


----------------------------------------------------------------------
Revision: 246ce23ba85b41bf89269edfa8ec16583ad89fb3
Parent:   48a04e149f49af3122c4a2580ae2c17355f62f98
Author:   qulogic at pidgin.im
Date:     09/24/11 17:19:26
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/246ce23ba85b41bf89269edfa8ec16583ad89fb3

Changelog: 

Fix a leak. This strdup shouldn't be here.

Changes against parent 48a04e149f49af3122c4a2580ae2c17355f62f98

  patched  pidgin/gtkconv-theme.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv-theme.c	5307d6bd700bed81ab0f023822c9b97bcbba7bcf
+++ pidgin/gtkconv-theme.c	4b1b99db1421bf40a9f24745edb85d430c28462c
@@ -673,7 +673,7 @@ pidgin_conversation_theme_get_variant(Pi
 
 	priv = PIDGIN_CONV_THEME_GET_PRIVATE(theme);
 
-	return g_strdup(priv->variant);
+	return priv->variant;
 }
 
 void


More information about the Commits mailing list