Bug 11363 - [linux-2.6/arch/cris/arch-v32/drivers/cryptocop.c:1398]: Memory leak: p
Summary: [linux-2.6/arch/cris/arch-v32/drivers/cryptocop.c:1398]: Memory leak: p
Status: CLOSED CODE_FIX
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Mikael Starvik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-17 10:39 UTC by Daniel Marjamäki
Modified: 2008-08-18 00:01 UTC (History)
0 users

See Also:
Kernel Version: latest git tree
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Daniel Marjamäki 2008-08-17 10:39:40 UTC
Memory leak..

	p = kmalloc(padlen, alloc_flag);
	if (!pad) return -ENOMEM;

The same code also appears on line 1430 in the same file.
Comment 1 Mikael Starvik 2008-08-18 00:01:04 UTC
Fixed in local CVS, will be merged upstream in next window.

Note You need to log in before you can comment on or make changes to this bug.