comparison libpurple/protocols/yahoo/yahoo.c @ 27218:61b4d2eb3006

Fix a small memory leak.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 29 Jun 2009 03:02:58 +0000
parents 67c992cc4b3c
children a1603a9cda5e
comparison
equal deleted inserted replaced
27211:bd85e78518b7 27218:61b4d2eb3006
2156 f->p2p_packet_sent = 0; 2156 f->p2p_packet_sent = 0;
2157 } 2157 }
2158 } 2158 }
2159 else /* we are already connected. set friend to YAHOO_P2PSTATUS_WE_ARE_CLIENT */ 2159 else /* we are already connected. set friend to YAHOO_P2PSTATUS_WE_ARE_CLIENT */
2160 yahoo_friend_set_p2p_status(f, YAHOO_P2PSTATUS_WE_ARE_CLIENT); 2160 yahoo_friend_set_p2p_status(f, YAHOO_P2PSTATUS_WE_ARE_CLIENT);
2161 g_free(who);
2161 return; 2162 return;
2162 } 2163 }
2163 2164
2164 decoded_group = yahoo_string_decode(gc, group, FALSE); 2165 decoded_group = yahoo_string_decode(gc, group, FALSE);
2165 buf = g_strdup_printf(_("Could not add buddy %s to group %s to the server list on account %s."), 2166 buf = g_strdup_printf(_("Could not add buddy %s to group %s to the server list on account %s."),