From: Andrei Borzenkov Date: Sat, 28 Feb 2015 17:19:57 +0000 (+0300) Subject: grub-probe: free temporary variable X-Git-Tag: 2.02-beta3~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=018f79da6f6f0aab34ce501e62db77c89a23aca1;p=thirdparty%2Fgrub.git grub-probe: free temporary variable --- diff --git a/util/grub-probe.c b/util/grub-probe.c index 08d477f5f..8f4aa6138 100644 --- a/util/grub-probe.c +++ b/util/grub-probe.c @@ -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; }