Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344564
b: refs/heads/master
c: a240af2
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Tomi Valkeinen committed Dec 10, 2012
1 parent a0c4748 commit 903d2c5
Show file tree
Hide file tree
Showing 2 changed files with 2 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: a2ed00da5047806233e288b991d9be997a5eb214
refs/heads/master: a240af2eb24679f4d27d87281b25faee0a25df1a
3 changes: 1 addition & 2 deletions trunk/drivers/video/console/softcursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ int soft_cursor(struct fb_info *info, struct fb_cursor *cursor)
dsize = s_pitch * cursor->image.height;

if (dsize + sizeof(struct fb_image) != ops->cursor_size) {
if (ops->cursor_src != NULL)
kfree(ops->cursor_src);
kfree(ops->cursor_src);
ops->cursor_size = dsize + sizeof(struct fb_image);

ops->cursor_src = kmalloc(ops->cursor_size, GFP_ATOMIC);
Expand Down

0 comments on commit 903d2c5

Please sign in to comment.