Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181616
b: refs/heads/master
c: fb3ab10
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 35ba6f9 commit 8c76e84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6adb21c8719feef3b1629f5a9b5535e914f897ed
refs/heads/master: fb3ab105a5ef43b03d2788e9b124c7c69112682f
7 changes: 7 additions & 0 deletions trunk/drivers/media/dvb/frontends/stv0900_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,14 @@ static enum fe_stv0900_error stv0900_init_internal(struct dvb_frontend *fe,
} else {
state->internal = kmalloc(sizeof(struct stv0900_internal),
GFP_KERNEL);
if (state->internal == NULL)
return STV0900_INVALID_HANDLE;
temp_int = append_internal(state->internal);
if (temp_int == NULL) {
kfree(state->internal);
state->internal = NULL;
return STV0900_INVALID_HANDLE;
}
state->internal->dmds_used = 1;
state->internal->i2c_adap = state->i2c_adap;
state->internal->i2c_addr = state->config->demod_address;
Expand Down

0 comments on commit 8c76e84

Please sign in to comment.