]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
grub-probe: free temporary variable
authorAndrei Borzenkov <arvidjaar@gmail.com>
Sat, 28 Feb 2015 17:19:57 +0000 (20:19 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Sat, 28 Feb 2015 17:19:57 +0000 (20:19 +0300)
util/grub-probe.c

index 08d477f5f5316a745563dbe5db24796e11b33b3e..8f4aa6138c124d555d1a891c32f3749be60eea27 100644 (file)
@@ -735,6 +735,7 @@ help_filter (int key, const char *text, void *input __attribute__ ((unused)))
          ret = xasprintf ("%s\n%s %s %s", _("print TARGET"),
                            _("available targets:"), t, def);
          free (t);
+         free (def);
          return ret;
        }