diff options
| -rw-r--r-- | scripts/mod/modpost.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 066355673930..ea3e2bdf1825 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
| @@ -2113,8 +2113,10 @@ static void read_dump(const char *fname, unsigned int kernel) | |||
| 2113 | s->preloaded = 1; | 2113 | s->preloaded = 1; |
| 2114 | sym_update_crc(symname, mod, crc, export_no(export)); | 2114 | sym_update_crc(symname, mod, crc, export_no(export)); |
| 2115 | } | 2115 | } |
| 2116 | release_file(file, size); | ||
| 2116 | return; | 2117 | return; |
| 2117 | fail: | 2118 | fail: |
| 2119 | release_file(file, size); | ||
| 2118 | fatal("parse error in symbol dump file\n"); | 2120 | fatal("parse error in symbol dump file\n"); |
| 2119 | } | 2121 | } |
| 2120 | 2122 | ||
