X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aft.c;h=2d40c235df8cf51fab7c2134e6bce1499769c9bf;hp=1b23823e77dd34bcc7acd11dba6e6eca2d56d7db;hb=5cf4c974286ded864ccfad07ee0f4c44fced1163;hpb=79b1258cf12be5779ec9cc5b175ff58e39310123 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)