HAMMER Utility - fix unfreeable pointer in 'hammer info'
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Dec 2009 16:30:08 +0000 (08:30 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Dec 2009 16:30:08 +0000 (08:30 -0800)
commita8446559e7d543a72dbb7a8ef314eba07dd0217d
tree787ea7970356ef7650879eb4b12e5c34d8b9a0ea
parent743332ab9fb2411f4676b35af2c2a0dfadee5f69
HAMMER Utility - fix unfreeable pointer in 'hammer info'

* Fix the construction of the mountedon variable to ensure the
  variable can be free()'d.

Reported-by: "Steve O'Hara-Smith" <steve@sohara.org>
Also-suggested-by: Antonio Huete Jimenez <ahuete.devel@gmail.com>
sbin/hammer/cmd_info.c