Pretend to allocate/deallocate memory correctly

* Pretend like we actually manage memory properly by calling free() on
  things which were malloc()'ed or strdup()'ed.
  (Patch from Dustin Kirkland).
git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-84
5 files changed