diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-10-16 23:16:25 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-10-16 23:16:25 (GMT) |
commit | 84581571e138d5b7984b6d3198296013ec157d30 (patch) | |
tree | e4308cab1f1bf85feaaeb91e33874b7ef7ccbcbb /src/format/dex | |
parent | 6f9563a0184e36fab8d0c2c38d151827784e331e (diff) |
Fixed many bugs using valgrind.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@269 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/dex')
-rwxr-xr-x | src/format/dex/dex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format/dex/dex.c b/src/format/dex/dex.c index 821da7a..b286f7c 100755 --- a/src/format/dex/dex.c +++ b/src/format/dex/dex.c @@ -255,6 +255,8 @@ static void g_dex_format_find_all_sources(GDexFormat *format) for (i = 0; i < format->classes_count; i++) { source = g_dex_class_get_source_file(format->classes[i], format); + if (source == NULL) continue; + found = false; for (k = 0; k < bf->src_count && !found; k++) |