gegl r1860 - in trunk: . bin



Author: neo
Date: Fri Jan 18 11:17:56 2008
New Revision: 1860
URL: http://svn.gnome.org/viewvc/gegl?rev=1860&view=rev

Log:
2008-01-18  Sven Neumann  <sven gimp org>

	* bin/gegl.c (main): removed a redundant call to g_strdup().


Modified:
   trunk/ChangeLog
   trunk/bin/gegl.c

Modified: trunk/bin/gegl.c
==============================================================================
--- trunk/bin/gegl.c	(original)
+++ trunk/bin/gegl.c	Fri Jan 18 11:17:56 2008
@@ -100,8 +100,7 @@
       else
         {
           gchar *temp1 = g_strdup (o->file);
-          gchar *temp2;
-          temp2 = g_strdup (g_path_get_dirname (temp1));
+          gchar *temp2 = g_path_get_dirname (temp1);
           path_root = g_strdup (realpath (temp2, NULL));
           g_free (temp1);
           g_free (temp2);



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