/hg/icedtea-web: Removed residual free(str) on stack variable.
adomurad at icedtea.classpath.org
adomurad at icedtea.classpath.org
Thu May 24 11:59:11 PDT 2012
changeset c6e355e0c034 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=c6e355e0c034
author: Adam Domurad <adomurad at redhat.com>
date: Thu May 24 14:59:04 2012 -0400
Removed residual free(str) on stack variable.
diffstat:
ChangeLog | 5 +++++
plugin/icedteanp/IcedTeaPluginUtils.cc | 1 -
2 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 7b3855664763 -r c6e355e0c034 ChangeLog
--- a/ChangeLog Thu May 24 19:57:14 2012 +0200
+++ b/ChangeLog Thu May 24 14:59:04 2012 -0400
@@ -1,3 +1,8 @@
+2012-05-23 Martin Olsson <martin at minimum.se>
+
+ * plugin/icedteanp/IcedTeaPluginUtils.cc:
+ Tiny fixup for changeset 383; don't do free(stack_variable).
+
2012-05-20 Jiri Vanek <jvanek at redhat.com>
Reproducers engine enhanced for jars in subdirectories by "." naming convention
diff -r 7b3855664763 -r c6e355e0c034 plugin/icedteanp/IcedTeaPluginUtils.cc
--- a/plugin/icedteanp/IcedTeaPluginUtils.cc Thu May 24 19:57:14 2012 +0200
+++ b/plugin/icedteanp/IcedTeaPluginUtils.cc Thu May 24 14:59:04 2012 -0400
@@ -707,7 +707,6 @@
}
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);
More information about the distro-pkg-dev
mailing list