Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 832
b: refs/heads/master
c: 96edf83
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed May 3, 2005
1 parent bdff3b8 commit 2aa8156
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 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: c3924c70dd3bddc28b99ccd1688bd281bad1a9be
refs/heads/master: 96edf83c4e284c08584f97623f7c7f029759459e
6 changes: 2 additions & 4 deletions trunk/drivers/net/ppp_deflate.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ static void z_comp_free(void *arg)

if (state) {
zlib_deflateEnd(&state->strm);
if (state->strm.workspace)
vfree(state->strm.workspace);
vfree(state->strm.workspace);
kfree(state);
}
}
Expand Down Expand Up @@ -308,8 +307,7 @@ static void z_decomp_free(void *arg)

if (state) {
zlib_inflateEnd(&state->strm);
if (state->strm.workspace)
kfree(state->strm.workspace);
kfree(state->strm.workspace);
kfree(state);
}
}
Expand Down
12 changes: 4 additions & 8 deletions trunk/drivers/net/ppp_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2467,14 +2467,10 @@ static void ppp_destroy_interface(struct ppp *ppp)
skb_queue_purge(&ppp->mrq);
#endif /* CONFIG_PPP_MULTILINK */
#ifdef CONFIG_PPP_FILTER
if (ppp->pass_filter) {
kfree(ppp->pass_filter);
ppp->pass_filter = NULL;
}
if (ppp->active_filter) {
kfree(ppp->active_filter);
ppp->active_filter = NULL;
}
kfree(ppp->pass_filter);
ppp->pass_filter = NULL;
kfree(ppp->active_filter);
ppp->active_filter = NULL;
#endif /* CONFIG_PPP_FILTER */

kfree(ppp);
Expand Down

0 comments on commit 2aa8156

Please sign in to comment.