You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/10/11 11:26:15 UTC
svn commit: r583751 -
/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
Author: hindessm
Date: Thu Oct 11 02:26:15 2007
New Revision: 583751
URL: http://svn.apache.org/viewvc?rev=583751&view=rev
Log:
Fixing memory allocations to use hymem_* rather than jclmem_*.
Modified:
harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c?rev=583751&r1=583750&r2=583751&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c Thu Oct 11 02:26:15 2007
@@ -1478,7 +1478,7 @@
}
if (count > INTERNAL_MAX)
{
- buf = jclmem_allocate_memory (env, count);
+ buf = hymem_allocate_memory (count);
}
else
{
@@ -1503,7 +1503,7 @@
if (buf != internalBuffer)
{
- jclmem_free_memory (env, buf);
+ hymem_free_memory (buf);
}
#undef INTERNAL_MAX
@@ -1556,7 +1556,7 @@
}
if (len >= INTERNAL_MAX)
{
- buf = jclmem_allocate_memory (env, len);
+ buf = hymem_allocate_memory (len);
}
else
{
@@ -1585,7 +1585,7 @@
if (buf != internalBuffer)
{
- jclmem_free_memory (env, buf);
+ hymem_free_memory (buf);
}
#undef INTERNAL_MAX