gnome-user-share r186 - trunk



Author: hadess
Date: Tue Jan 22 10:41:22 2008
New Revision: 186
URL: http://svn.gnome.org/viewvc/gnome-user-share?rev=186&view=rev

Log:
2008-01-22  Bastien Nocera  <hadess hadess net>

	* user_share.c: (lookup_public_dir):
	Fix some stupidness



Modified:
   trunk/ChangeLog
   trunk/user_share.c

Modified: trunk/user_share.c
==============================================================================
--- trunk/user_share.c	(original)
+++ trunk/user_share.c	Tue Jan 22 10:41:22 2008
@@ -87,10 +87,9 @@
 		g_mkdir_with_parents (public_dir, 0755);
 		return g_strdup (public_dir);
 	}
-	g_free (public_dir);
 
 	dir = g_build_filename (g_get_home_dir (), "Public", NULL);
-	g_mkdir_with_parents (public_dir, 0755);
+	g_mkdir_with_parents (dir, 0755);
 	return dir;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]