interfaces: Plug some memory leaks.

Signed-off-by: Matthew Emmett <memmett@gmail.com>