diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-12-18 23:26:56 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-12-18 23:26:56 (GMT) |
commit | cf9ea46a796000f0252bb7d80c0ac0fb170e156a (patch) | |
tree | 4fdab700f2d0fe0e88cf21063e9da516a4f5d5b0 /src/analysis/binaries | |
parent | f4dbbab3190d13e61f125eea51a0ecec2ab9e897 (diff) |
Fixed a bug when the binary loading fails.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@306 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/binaries')
-rw-r--r-- | src/analysis/binaries/file.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/analysis/binaries/file.c b/src/analysis/binaries/file.c index 46307fb..9c43ed5 100644 --- a/src/analysis/binaries/file.c +++ b/src/analysis/binaries/file.c @@ -133,15 +133,9 @@ static void g_file_binary_init(GFileBinary *binary) static void g_file_binary_finalize(GFileBinary *binary) { - gpointer obj_class; /* Classe parente */ - free(binary->filename); - /* On passe le relai */ - - obj_class = g_type_class_peek_parent(G_FILE_BINARY_GET_CLASS(binary)); - - G_OBJECT_CLASS(obj_class)->finalize(G_OBJECT(binary)); + G_OBJECT_CLASS(g_file_binary_parent_class)->finalize(G_OBJECT(binary)); } |