2010-01-03 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Sun, 3 Jan 2010 16:37:33 +0000 (16:37 -0000)
committerZoltan Varga <vargaz@gmail.com>
Sun, 3 Jan 2010 16:37:33 +0000 (16:37 -0000)
* mono-path.c (mono_path_resolve_symlinks): Use g_strfreev () to free the
result of g_strplit.

svn path=/trunk/mono/; revision=148987

mono/utils/ChangeLog
mono/utils/mono-path.c

index 0da06783f6efbfdf2d1ca2e84121efe5cfb25bd1..e94a2c157a18e84e4d7dcade45c2f11ecaea0965 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * mono-path.c (mono_path_resolve_symlinks): Use g_strfreev () to free the
+       result of g_strplit.
+
 2009-12-18  Zoltan Varga  <vargaz@gmail.com>
 
        * valgrind.h memcheck.h: New files containing the BSD licensed valgrind
index d324b78661ee16a046349bbfdcfd24c381e0aa79..32ad8899f5218a4f3c9302f8b432df7d6e7df45b 100644 (file)
@@ -150,7 +150,7 @@ mono_path_resolve_symlinks (const char *path)
                }
        }
 
-       g_free (split);
+       g_strfreev (split);
        return p;
 #endif
 }