From 0d1edc10309768f83228abfea9394533850db009 Mon Sep 17 00:00:00 2001 From: Adam Domurad Date: Thu, 24 May 2012 14:59:04 -0400 Subject: Removed residual free(str) on stack variable. --- ChangeLog | 5 +++++ plugin/icedteanp/IcedTeaPluginUtils.cc | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9e52c53..aa61074 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-05-23 Martin Olsson + + * plugin/icedteanp/IcedTeaPluginUtils.cc: + Tiny fixup for changeset 383; don't do free(stack_variable). + 2012-05-20 Jiri Vanek 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); -- cgit v1.2.3