Stinson Linden avatar Stinson Linden committed 468ca32

MAINT-1684: Correcting the calls to ll_aligned_free() which should have actually been to ll_aligned_free_16().

Comments (0)

Files changed (1)

indra/llcommon/llmemory.cpp

 	
 	if(!chunk)
 	{
-		ll_aligned_free(addr) ; //release from heap
+		ll_aligned_free_16(addr) ; //release from heap
 	}
 	else
 	{
 	mReservedPoolSize -= chunk->getBufferSize() ;
 	
 	//release memory
-	ll_aligned_free(chunk->getBuffer()) ;
+	ll_aligned_free_16(chunk->getBuffer()) ;
 }
 
 U16 LLPrivateMemoryPool::findHashKey(const char* addr)
 	{
 		if(!sPrivatePoolEnabled)
 		{
-			ll_aligned_free(addr) ; //private pool is disabled.
+			ll_aligned_free_16(addr) ; //private pool is disabled.
 		}
 		else if(!sInstance) //the private memory manager is destroyed, try the dangling list
 		{
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.