Bug 15763

Summary: free() fails on contigmalloc() memory
Product: Base System Reporter: rik <rik>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-STABLE   
Hardware: Any   
OS: Any   

Description rik 1999-12-29 17:40:00 UTC
Memory that was allocated by contigmalloc() causes kernel fault
when attempting to free()

How-To-Repeat: void *f;
f = contigmalloc (...);
...
free (f);
Comment 1 hoek freebsd_committer freebsd_triage 2000-05-09 03:34:32 UTC
State Changed
From-To: open->closed

Don't do that.  The contigmalloc() function is only meant for limited 
use, typically by drivers at boot time.  The free() function is meant 
to work with malloc() not contigmalloc().