Mercurial > hg > release > icedtea7-2.1
changeset 2235:e32c0b73290f
Fixed typo in previous commit
2010-04-21 Deepak Bhole <dbhole@redhat.com>
* plugin/icedteanp/IcedTeaNPPlugin.cc
(plugin_filter_environment): Fix typo in previous commit
author | Deepak Bhole <dbhole@redhat.com> |
---|---|
date | Wed, 21 Apr 2010 11:30:49 -0400 |
parents | 3e38b1e90480 |
children | 33f2cabc6bca |
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> PR icedtea/474
--- 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++)