-/*
- * main.c: The main entry point for the mono executable
+/**
+ * \file
+ * The main entry point for the mono executable
*
* The main entry point does a few things:
*
static char *bundled_dylibrary_directory;
static void
-delete_bundled_libraries ()
+delete_bundled_libraries (void)
{
GSList *list;
}
static void
-bundle_save_library_initialize ()
+bundle_save_library_initialize (void)
{
bundle_save_library_initialized = 1;
char *path = g_build_filename (g_get_tmp_dir (), "mono-bundle-XXXXXX", NULL);
bundled_dylibrary_directory = g_mkdtemp (path);
- /* don't free path - mkdtemp modifies it in place, and bundled_dylibrary_directory is an alias of it */
+ g_free (path);
if (bundled_dylibrary_directory == NULL)
return;
atexit (delete_bundled_libraries);