summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/format/elf/helper_x86.c4
-rw-r--r--src/panel/symbols.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ef55a88..b6618a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
09-07-15 Cyrille Bagard <nocbos@gmail.com>
+ * src/format/elf/helper_x86.c:
+ * src/panel/symbols.c:
+ Fix bugs/mistakes of previous commits.
+
+09-07-15 Cyrille Bagard <nocbos@gmail.com>
+
* src/arch/x86/instruction.c:
* src/arch/x86/instruction.h:
Provide the opcode of an x86 instruction.
diff --git a/src/format/elf/helper_x86.c b/src/format/elf/helper_x86.c
index 39bdcfc..1975709 100644
--- a/src/format/elf/helper_x86.c
+++ b/src/format/elf/helper_x86.c
@@ -37,6 +37,10 @@
+#define _(str) (str)
+
+
+
/* Décode les instructions liées à la relocalisation. */
GArchInstruction **decode_elf_relocations(elf_format *, size_t *);
diff --git a/src/panel/symbols.c b/src/panel/symbols.c
index 38b8089..124b345 100644
--- a/src/panel/symbols.c
+++ b/src/panel/symbols.c
@@ -210,8 +210,6 @@ void reload_symbols_panel_content(GtkWidget *panel, const exe_format *format)
}
- free(routines);
-
}
}