[utils] Fix CppCheck warning in mono-threads-posix.c (#5161)
[mono.git] / mono / utils / mono-uri.c
index 7a2c4ac8100ebd9afec9607a8b7b0640c498f3a5..a39f6be3f0819d4b93b0799c7a35bb53fb526786 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * mono-uri.c: Simple routine used to escape uris.
+/**
+ * \file
+ * Simple routine used to escape uris.
  *
  * Author:
  *   Miguel de Icaza (miguel@novell.com)
@@ -36,7 +37,7 @@ mono_escape_uri_string (const gchar *string)
 #if TEST
 int main ()
 {
-       char *s = malloc (256);
+       char *s = g_malloc (256);
        int i = 0;
        
        s [255] = 0;