From: BVK Chaitanya Date: Thu, 22 Jul 2010 17:52:36 +0000 (+0530) Subject: cleanup X-Git-Tag: 1.99~594^2~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a60d363b0808700bfaa8b475852c5063eda7f21;p=thirdparty%2Fgrub.git cleanup --- diff --git a/commands/extcmd.c b/commands/extcmd.c index 4b3d9d36b..44a4b6cfd 100644 --- a/commands/extcmd.c +++ b/commands/extcmd.c @@ -54,9 +54,7 @@ grub_extcmd_dispatcher (struct grub_command *cmd, int argc, char **args, return ret; } - if (state) - grub_free (state); - + grub_free (state); return grub_errno; }