changeset 26945:10d92c213d0f

merge of 'a543de79fc730fb1a32056d0da5abe0044ed9533' and 'bbeb29e959037b31d07ee20b3d7554c3e82bf826'
author Paul Aurich <paul@darkrain42.org>
date Sun, 10 May 2009 22:41:13 +0000
parents ef61a2b746bd (current diff) c69a2e88fee3 (diff)
children fd92e7beb840 750f087d1df3
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Sun May 10 22:29:28 2009 +0000
+++ b/libpurple/protocols/msn/slplink.c	Sun May 10 22:41:13 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;
 	}