# HG changeset patch # User mas01mc # Date 1231594702 0 # Node ID 920919d625421f50da5d658587b6e0ab9a96ddf0 # Parent 282c651e2fbb4414a32241254390ccfc75cc7ef4 plugged a file descriptor leak in index.cpp diff -r 282c651e2fbb -r 920919d62542 index.cpp --- a/index.cpp Sat Jan 10 13:35:27 2009 +0000 +++ b/index.cpp Sat Jan 10 13:38:22 2009 +0000 @@ -589,6 +589,7 @@ else set_up_query(&query_data, &query, &qNorm, &qnPtr, &qPower, &qpPtr, &meanQdur, &numVectors); // get query vectors + close(infid); // Free up this file handle VERB_LOG(1, "retrieving tracks..."); assert(pointNN>0 && pointNN<=O2_MAXNN);