harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r576409 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c
Date Mon, 17 Sep 2007 13:06:00 GMT
Author: hindessm
Date: Mon Sep 17 06:05:59 2007
New Revision: 576409

URL: http://svn.apache.org/viewvc?rev=576409&view=rev
Log:
The MUTEX_DESTROY (from HARMONY-3054) should really come before the free.

Modified:
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c?rev=576409&r1=576408&r2=576409&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/archiveglob.c
Mon Sep 17 06:05:59 2007
@@ -123,8 +123,8 @@
                   jclmem_free_memory (env, jclZipFile);
                   jclZipFile = next;
                 }
-              jclmem_free_memory (env, zipfileHandles);
               MUTEX_DESTROY (zipfileHandles->mutex);
+              jclmem_free_memory (env, zipfileHandles);
             }
 
           /* Free any global references */



Mime
View raw message