projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb069fc
)
Report bundle tracing using the filename, not the full path.
author
Rolf Bjarne Kvinge
<rolf@xamarin.com>
Fri, 11 Apr 2014 22:56:33 +0000
(
00:56
+0200)
committer
Rolf Bjarne Kvinge
<rolf@xamarin.com>
Fri, 11 Apr 2014 22:56:33 +0000
(
00:56
+0200)
mono/metadata/assembly.c
patch
|
blob
|
history
diff --git
a/mono/metadata/assembly.c
b/mono/metadata/assembly.c
index 81542db928208d5db7ba088d23e76d50fbd9c94a..8deddf112f1b1ca010ba4f9e374b8548e5c613e8 100644
(file)
--- a/
mono/metadata/assembly.c
+++ b/
mono/metadata/assembly.c
@@
-1471,12
+1471,13
@@
mono_assembly_open_from_bundle (const char *filename, MonoImageOpenStatus *statu
}
}
mono_assemblies_unlock ();
- g_free (name);
if (image) {
mono_image_addref (image);
- mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_ASSEMBLY, "Assembly Loader loaded assembly from bundle: '%s'.", filename);
+ mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_ASSEMBLY, "Assembly Loader loaded assembly from bundle: '%s'.", name);
+ g_free (name);
return image;
}
+ g_free (name);
return NULL;
}