commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ChangeLog native/plugin/gcjwebplugin.cc


From: Lillian Angel
Subject: [commit-cp] classpath ChangeLog native/plugin/gcjwebplugin.cc
Date: Thu, 08 Jun 2006 15:56:12 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Lillian Angel <langel>  06/06/08 15:56:12

Modified files:
        .              : ChangeLog 
        native/plugin  : gcjwebplugin.cc 

Log message:
        2006-06-08  Tom Fitzsimmons  <address@hidden>
                    Lillian Angel  <address@hidden>
        
                * native/plugin/gcjwebplugin.cc
                (NP_Shutdown): Added code to free plugin mutex and whitelist 
file.
                Also, reset initialized field.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7718&r2=1.7719
http://cvs.savannah.gnu.org/viewcvs/classpath/native/plugin/gcjwebplugin.cc?cvsroot=classpath&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7718
retrieving revision 1.7719
diff -u -b -r1.7718 -r1.7719
--- ChangeLog   8 Jun 2006 14:27:43 -0000       1.7718
+++ ChangeLog   8 Jun 2006 15:56:11 -0000       1.7719
@@ -1,3 +1,10 @@
+2006-06-08  Tom Fitzsimmons  <address@hidden>
+           Lillian Angel  <address@hidden>
+
+       * native/plugin/gcjwebplugin.cc
+       (NP_Shutdown): Added code to free plugin mutex and whitelist file.
+       Also, reset initialized field.
+
 2006-06-08  Lillian Angel  <address@hidden>
 
        * javax/swing/plaf/basic/BasicProgressBarUI.java

Index: native/plugin/gcjwebplugin.cc
===================================================================
RCS file: /cvsroot/classpath/classpath/native/plugin/gcjwebplugin.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- native/plugin/gcjwebplugin.cc       6 Jun 2006 15:43:14 -0000       1.5
+++ native/plugin/gcjwebplugin.cc       8 Jun 2006 15:56:12 -0000       1.6
@@ -1740,10 +1740,19 @@
   PLUGIN_DEBUG ("NP_Shutdown");
 
   // Free mutex.
+  if (plugin_instance_mutex)
+    {
   g_mutex_free (plugin_instance_mutex);
   plugin_instance_mutex = NULL;
+    }
 
+  if (whitelist_file)
+    {
   g_io_channel_close (whitelist_file);
+      whitelist_file = NULL;
+    }
+  
+  initialized = false;
 
   PLUGIN_DEBUG ("NP_Shutdown return");
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]