changeset 26864:fd92e7beb840

merge of '19b202a7eff53542a31f52433aa8bc17649f8b3d' and 'f692c258ca8f5dabfcf69ca9b2578e7bad37bdd0'
author Paul Aurich <paul@darkrain42.org>
date Sun, 10 May 2009 23:15:41 +0000
parents f924c19ad9c2 (current diff) 10d92c213d0f (diff)
children 0402ec1872dc
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Sun May 10 23:13:31 2009 +0000
+++ b/libpurple/protocols/msn/slplink.c	Sun May 10 23:15:41 2009 +0000
@@ -683,9 +683,9 @@
 		size = st.st_size;
 
 	if(!file_name) {
-		base = g_path_get_basename(file_path);
-		u8 = purple_utf8_try_convert(base);
-		g_free(base);
+		gchar *basename = g_path_get_basename(file_path);
+		u8 = purple_utf8_try_convert(basename);
+		g_free(basename);
 		file_name = u8;
 	}