$NetBSD: patch-ac,v 1.3 2006/08/07 23:46:23 wiz Exp $ --- src/input.c.orig 2004-05-16 16:24:04.000000000 +0000 +++ src/input.c @@ -28,6 +28,10 @@ #include #endif /* HAVE_SYS_TYPES_H */ +#ifdef HAVE_SYS_TYPES_H +#include +#endif + #ifdef HAVE_SYS_SOCKET_H #include #endif /* HAVE_SYS_SOCKET_H */ @@ -451,6 +455,9 @@ input_read_tag (struct mad_info_t *info) if (title_input->genre) g_free (title_input->genre); if (title_input->comment) g_free (title_input->comment); g_free (title_input); + + id3_file_close (info->id3file); + info->id3file = NULL; } /**