summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-07-15 20:38:19 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-07-15 20:38:19 (GMT)
commitb8ebd9e4d8f90c8ae8860d2a09f619a14c91715e (patch)
treee8f97297974d5adfce79d9c4f45906ede28d15b2
parentb5a2692820a0b85a03ff28fc2154f8d50f26d5e2 (diff)
Fixed bugs/mistakes of previous commits.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@94 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
-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);
-
}
}