diff libpurple/protocols/msn/slp.c @ 22804:7d3b2c023ad8

This is the way we plug the leaks, plug the leaks, plug the leaks...
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 03 May 2008 17:56:04 +0000
parents bc731b26335c
children ac567757d236
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Sat May 03 17:38:33 2008 +0000
+++ b/libpurple/protocols/msn/slp.c	Sat May 03 17:56:04 2008 +0000
@@ -359,6 +359,7 @@
 			g_free(bin);
 
 			purple_xfer_set_filename(xfer, file_name);
+			g_free(file_name);
 			purple_xfer_set_size(xfer, file_size);
 			purple_xfer_set_init_fnc(xfer, msn_xfer_init);
 			purple_xfer_set_request_denied_fnc(xfer, msn_xfer_cancel);