Skip to content

Commit

Permalink
Merge branch 'master' of github.com:fastos/fastsocket
Browse files Browse the repository at this point in the history
  • Loading branch information
gfreewind committed Jan 21, 2015
2 parents 5f5c942 + d12a9b7 commit c210a40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/net/fastsocket/fastsocket_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ static struct socket *fsocket_alloc_socket(void)
return sock;

err2:
module_put(THIS_MODULE);
fsocket_free_socket_mem((struct socket_alloc*)sock);
err1:
return NULL;
Expand Down

0 comments on commit c210a40

Please sign in to comment.