projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[runtime] Switch getenv to use heap memory
[mono.git]
/
mono
/
arch
/
ia64
/
codegen.c
diff --git
a/mono/arch/ia64/codegen.c
b/mono/arch/ia64/codegen.c
index 97e1aefcb1ed5299f1aae55d93c34caf14685029..93d85a57df3ec32061809e92309d1b064a4d5649 100644
(file)
--- a/
mono/arch/ia64/codegen.c
+++ b/
mono/arch/ia64/codegen.c
@@
-52,11
+52,12
@@
mono_disassemble_code (guint8 *code, int size, char *id)
system (cmd);
g_free (cmd);
if (!objdump_args)
- objdump_args =
""
;
+ objdump_args =
strdup("")
;
cmd = g_strdup_printf (DIS_CMD " %s %s", objdump_args, o_file);
system (cmd);
g_free (cmd);
+ g_free (objdump_args);
g_free (o_file);
g_free (as_file);