Skip to content
Browse files

Fixed free to use aligned addresses.

  • Loading branch information...
1 parent ae1c9da commit 75343ecbd779122cb35759fe8b055f0b723476d4 @phire phire committed Nov 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 psl1ght/lib/libreality/source/mm.c
View
2 psl1ght/lib/libreality/source/mm.c
@@ -201,7 +201,7 @@ void rsxFree(void *ptr)
//Find the correspondending node.
while(node != NULL)
{
- if(node->address == addr)
+ if(node->aligned_address == addr)
{
//Set it to unused.
node->used = HNODE_UNUSED;

0 comments on commit 75343ec

Please sign in to comment.
Something went wrong with that request. Please try again.