aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--plugin/icedteanp/IcedTeaPluginUtils.cc1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9e52c53..aa61074 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-23 Martin Olsson <[email protected]>
+
+ * plugin/icedteanp/IcedTeaPluginUtils.cc:
+ Tiny fixup for changeset 383; don't do free(stack_variable).
+
2012-05-20 Jiri Vanek <[email protected]>
Reproducers engine enhanced for jars in subdirectories by "." naming convention
diff --git a/plugin/icedteanp/IcedTeaPluginUtils.cc b/plugin/icedteanp/IcedTeaPluginUtils.cc
index 8d9ebe3..3d69e9e 100644
--- a/plugin/icedteanp/IcedTeaPluginUtils.cc
+++ b/plugin/icedteanp/IcedTeaPluginUtils.cc
@@ -707,7 +707,6 @@ IcedTeaPluginUtilities::NPVariantToString(NPVariant variant, std::string* result
}
else if (NPVARIANT_IS_STRING(variant))
{
- free(str);
#if MOZILLA_VERSION_COLLAPSED < 1090200
size_t buffersize = sizeof(char)*NPVARIANT_TO_STRING(variant).utf8length;
largestr = (char*) malloc(buffersize);