Mercurial > hg > release > icedtea-web-1.2
changeset 355:0765eba8ab35
Use g_mutex_free instead of g_free to free appletviewer_mutex (fixes
crash).
Patch from Martin Olsson.
author | Deepak Bhole <dbhole@redhat.com> |
---|---|
date | Wed, 23 May 2012 12:13:03 -0400 |
parents | 8cefdf76fc6b |
children | 0cdefd555de7 |
files | ChangeLog plugin/icedteanp/IcedTeaNPPlugin.cc |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed May 23 12:10:06 2012 -0400 +++ b/ChangeLog Wed May 23 12:13:03 2012 -0400 @@ -1,3 +1,9 @@ +2012-05-23 Martin Olsson <martin@minimum.se> + + * plugin/icedteanp/IcedTeaNPPlugin.cc: + Use g_mutex_free instead of g_free to free appletviewer_mutex (fixes + crash). + 2012-05-23 Deepak Bhole <dbhole@redhat.com> * ChangeLog: Converted spaces to tabs in an older entry
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc Wed May 23 12:10:06 2012 -0400 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Wed May 23 12:13:03 2012 -0400 @@ -427,7 +427,7 @@ 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 @@ 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: