loader: Don't leak memory when displaying help.
FreeBSD update: https://svnweb.freebsd.org/base?view=revision&revision=328289
Right now, we'll leak memory when we display a help topic because we don't free t, s, d that we've just used when breaking out of the loop.
NB: coverity just reported t, but s and d also leak.
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
commit 0a4f1df16f07808514bc5838bc55709f93f9e93e Author: Toomas Soome <email@example.com> Date: 2018-05-16T10:03:11.000Z 9476 loader: Don't leak memory when displaying help. 9480 loader: commands.c should only use snprintf 9481 loader: commands.c use __unused Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Approved by: Hans Rosenfeld <email@example.com>