aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/icedteanp/IcedTeaNPPlugin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/icedteanp/IcedTeaNPPlugin.cc b/plugin/icedteanp/IcedTeaNPPlugin.cc
index 657cf07..a60d2e6 100644
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc
@@ -427,7 +427,7 @@ ITNP_New (NPMIMEType pluginType, NPP instance, uint16_t mode,
goto cleanup_done;
cleanup_appletviewer_mutex:
- g_free (data->appletviewer_mutex);
+ g_mutex_free (data->appletviewer_mutex);
data->appletviewer_mutex = NULL;
// cleanup_instance_string:
@@ -2000,7 +2000,7 @@ plugin_data_destroy (NPP instance)
tofree->window_width = 0;
// cleanup_appletviewer_mutex:
- g_free (tofree->appletviewer_mutex);
+ g_mutex_free (tofree->appletviewer_mutex);
tofree->appletviewer_mutex = NULL;
// cleanup_instance_string: