changeset 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 d176a85f2581
children c8b4a617ee5b
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Tue Nov 04 00:38:51 2003 +0000
+++ b/src/protocols/yahoo/yahoo.c	Tue Nov 04 00:40:26 2003 +0000
@@ -1345,8 +1345,8 @@
 	yahoo_send_packet(yd, pack);
 	yahoo_packet_free(pack);
 
-	g_free(password_hash);
-	g_free(crypt_hash);
+	free(password_hash);
+	free(crypt_hash);
 }
 
 static void yahoo_process_auth(GaimConnection *gc, struct yahoo_packet *pkt)