diff options
author | Adam Domurad <[email protected]> | 2012-05-24 14:59:04 -0400 |
---|---|---|
committer | Adam Domurad <[email protected]> | 2012-05-24 14:59:04 -0400 |
commit | 0d1edc10309768f83228abfea9394533850db009 (patch) | |
tree | 15f6526817a3f73fea173dc9c9fe4d1f6432fb6a | |
parent | f3d4a248f28fe5ef98431deb205cd1a057ad79c4 (diff) |
Removed residual free(str) on stack variable.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | plugin/icedteanp/IcedTeaPluginUtils.cc | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -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); |