diff options
author | Paulo Marques <[email protected]> | 2005-03-30 22:39:49 -0500 |
---|---|---|
committer | Len Brown <[email protected]> | 2005-07-11 23:58:45 -0400 |
commit | d1dd0c23916bd781de27bc5ec1c295064e9ce9cc (patch) | |
tree | 8a817dfc450af2d2233533dc44593d33e2117eb5 /net/lapb/lapb_timer.c | |
parent | 7334571f724df7a19f48cc974e991e00afde1e2f (diff) |
[ACPI] fix kmalloc size bug in acpi/video.c
acpi_video_device_find_cap() used &p instead of *p
when calculating storage size, thus allocating
only 4 or 8 bytes instead of 12...
Also, kfree(NULL) is legal, so remove some unneeded checks.
From: Paulo Marques <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions