harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r583751 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
Date Thu, 11 Oct 2007 09:26:15 GMT
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
 



Mime
View raw message