# HG changeset patch # User Sulabh Mahajan # Date 1236491146 0 # Node ID 94ffdbdd16fb255849ee7ecc1426e1521e5eea29 # Parent 8793f771eba41a5df09ae5467806adfe86fb2c9b clear a double free bug diff -r 8793f771eba4 -r 94ffdbdd16fb libpurple/protocols/yahoo/yahoo.c --- a/libpurple/protocols/yahoo/yahoo.c Sun Mar 01 13:55:33 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Sun Mar 08 05:45:46 2009 +0000 @@ -1230,7 +1230,7 @@ } if(protocol == 0) - who = temp; + who = g_strdup(temp); else if(protocol == 2) who = g_strconcat("msn/", temp, NULL);