Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200218
b: refs/heads/master
c: 3164a3c
h: refs/heads/master
v: v3
  • Loading branch information
Hendrik Brueckner authored and Martin Schwidefsky committed Jun 8, 2010
1 parent e7d72a3 commit b723608
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2f0e8c803ceba530060ec9bb9c74a06c2c3d833
refs/heads/master: 3164a3cbf8a6bdf85fe3816fe670b391f31c004a
6 changes: 4 additions & 2 deletions trunk/arch/s390/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ void *module_alloc(unsigned long size)
/* Free memory returned from module_alloc */
void module_free(struct module *mod, void *module_region)
{
vfree(mod->arch.syminfo);
mod->arch.syminfo = NULL;
if (mod) {
vfree(mod->arch.syminfo);
mod->arch.syminfo = NULL;
}
vfree(module_region);
}

Expand Down

0 comments on commit b723608

Please sign in to comment.