We don't need to check for NULL before calling free.
Plug another memory leak.
Fix build.