Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix another bug in mono_profiler_load ().

  • Loading branch information...
commit 80ca34eb3518e5a6927674e9bc68bd22a32a9655 1 parent b0254ba
Zoltan Varga vargaz authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 mono/metadata/profiler.c
6 mono/metadata/profiler.c
@@ -1151,14 +1151,14 @@ mono_profiler_load (const char *desc)
1151 1151 }
1152 1152 if (!load_embedded_profiler (desc, mname)) {
1153 1153 libname = g_strdup_printf ("mono-profiler-%s", mname);
1154   - if (!load_profiler_from_directory (NULL, libname, desc))
  1154 + if (!load_profiler_from_directory (NULL, libname, desc)) {
  1155 + res = FALSE;
1155 1156 #if defined (MONO_ASSEMBLIES)
1156 1157 res = load_profiler_from_directory (mono_assembly_getrootdir (), libname, desc);
1157   -#else
1158   - res = FALSE;
1159 1158 #endif
1160 1159 if (!res)
1161 1160 g_warning ("The '%s' profiler wasn't found in the main executable nor could it be loaded from '%s'.", mname, libname);
  1161 + }
1162 1162 g_free (libname);
1163 1163 }
1164 1164 g_free (mname);

0 comments on commit 80ca34e

Please sign in to comment.
Something went wrong with that request. Please try again.