From: BVK Chaitanya Date: Wed, 4 Aug 2010 05:51:08 +0000 (+0530) Subject: fixed reference counting bug X-Git-Tag: 1.99~600^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ecfcd3603bf2dbca3960676ee196cf4fc75367;p=thirdparty%2Fgrub.git fixed reference counting bug --- diff --git a/script/argv.c b/script/argv.c index a7acbc23e..63b44e322 100644 --- a/script/argv.c +++ b/script/argv.c @@ -52,9 +52,6 @@ grub_script_argv_free (struct grub_script_argv *argv) grub_free (argv->args); } - if (argv->script) - grub_script_put (argv->script); - argv->argc = 0; argv->args = 0; argv->script = 0;