X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aft.c;h=2d40c235df8cf51fab7c2134e6bce1499769c9bf;hp=1b23823e77dd34bcc7acd11dba6e6eca2d56d7db;hb=37ed4616f98abaec9da3fd8d47b6b00f45f29b37;hpb=c8d6b9290983715325da4f6453d13c6d53e1d418 diff --git a/aft.c b/aft.c index 1b23823e..2d40c235 100644 --- a/aft.c +++ b/aft.c @@ -1816,6 +1816,7 @@ static int add_one_audio_file(const char *path, void *private_data) afhi_ptr = &afhi; } munmap(map.data, map.size); + close(fd); if (pad->flags & ADD_FLAG_VERBOSE) { send_ret = send_va_buffer(pad->fd, "adding %s\n", path); if (send_ret < 0)