changeset 2068:bedc8f68d746

Fixed typo in previous commit
author Deepak Bhole <dbhole@redhat.com>
date Wed, 21 Apr 2010 11:30:49 -0400
parents 9d2736fae2b2
children 67bc1a7196b8
files ChangeLog plugin/icedteanp/IcedTeaNPPlugin.cc
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Apr 20 16:11:05 2010 -0400
+++ b/ChangeLog	Wed Apr 21 11:30:49 2010 -0400
@@ -1,3 +1,8 @@
+2010-04-21  Deepak Bhole <dbhole@redhat.com>
+
+	* plugin/icedteanp/IcedTeaNPPlugin.cc
+	(plugin_filter_environment): Fix typo in previous commit
+
 2010-04-20  Deepak Bhole <dbhole@redhat.com>
 
 	* plugin/icedteanp/IcedTeaNPPlugin.cc
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc	Tue Apr 20 16:11:05 2010 -0400
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc	Wed Apr 21 11:30:49 2010 -0400
@@ -1464,7 +1464,7 @@
 plugin_filter_environment(void)
 {
   gchar **var_names = g_listenv();
-  gchar **new_env = (gchar**) malloc(sizeof(gchar*) * g_strv_length (var_names) + 1);
+  gchar **new_env = (gchar**) malloc(sizeof(gchar*) * (g_strv_length (var_names) + 1));
   int i_var, i_env;
 
   for (i_var = 0, i_env = 0; var_names[i_var] != NULL; i_var++)