comparison src/protocols/yahoo/yahoo.c @ 7423:0b7121f3c443

[gaim-migrate @ 8025] (19:40:37) Paco-Paco: you can never g_free something which was allocated with the system malloc, and you can never free anything which was allocated with g_malloc committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 04 Nov 2003 00:40:26 +0000
parents 53c86d59f20b
children c8b4a617ee5b
comparison
equal deleted inserted replaced
7422:d176a85f2581 7423:0b7121f3c443
1343 yahoo_packet_hash(pack, 96, resp_96); 1343 yahoo_packet_hash(pack, 96, resp_96);
1344 yahoo_packet_hash(pack, 1, name); 1344 yahoo_packet_hash(pack, 1, name);
1345 yahoo_send_packet(yd, pack); 1345 yahoo_send_packet(yd, pack);
1346 yahoo_packet_free(pack); 1346 yahoo_packet_free(pack);
1347 1347
1348 g_free(password_hash); 1348 free(password_hash);
1349 g_free(crypt_hash); 1349 free(crypt_hash);
1350 } 1350 }
1351 1351
1352 static void yahoo_process_auth(GaimConnection *gc, struct yahoo_packet *pkt) 1352 static void yahoo_process_auth(GaimConnection *gc, struct yahoo_packet *pkt)
1353 { 1353 {
1354 char *seed = NULL; 1354 char *seed = NULL;