grub-probe: free temporary variable

This commit is contained in:
Andrei Borzenkov 2015-02-28 20:19:57 +03:00
parent 0d6498a67d
commit 018f79da6f

View 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"), ret = xasprintf ("%s\n%s %s %s", _("print TARGET"),
_("available targets:"), t, def); _("available targets:"), t, def);
free (t); free (t);
free (def);
return ret; return ret;
} }