In the function: RemoveAllLockedFiles(void), if we call TRI_RemoveVectorString() and TRI_RemoveVector() the next elements in the vector will be memmoved to the left. The next iteration of the loop will check the element at position 1 (but we are skipping the new element at position 0), so these calls have been removed. The other alternative would be to have a loop: while (FileNames._length > 0) and take always the element at position 0. But this has the disadvantage that we are performing memmove() when later the vectors will be freed anyway.
In the function: RemoveAllLockedFiles(void), if we call TRI_RemoveVectorString() and TRI_RemoveVector() the next elements in the vector will be memmoved to the left. The next iteration of the loop will check the element at position 1 (but we are skipping the new element at position 0), so these calls have been removed.
The other alternative would be to have a loop: while (FileNames._length > 0) and take always the element at position 0. But this has the disadvantage that we are performing memmove() when later the vectors will be freed anyway.

graetzer/arangodb,fceller/arangodb,CoDEmanX/ArangoDB,thurt/arangodb,joerg84/arangodb,fceller/arangodb,kangkot/arangodb,graetzer/arangodb,thurt/arangodb,graetzer/arangodb,kangkot/arangodb,hkernbach/arangodb,baslr/ArangoDB,baslr/ArangoDB,baslr/ArangoDB,CoDEmanX/ArangoDB,baslr/ArangoDB,jsteemann/arangodb,hkernbach/arangodb,thurt/arangodb,arangodb/arangodb,hkernbach/arangodb,jsteemann/arangodb,jsteemann/arangodb,hkernbach/arangodb,joerg84/arangodb,jsteemann/arangodb,m0ppers/arangodb,jsteemann/arangodb,thurt/arangodb,hkernbach/arangodb,joerg84/arangodb,m0ppers/arangodb,fceller/arangodb,joerg84/arangodb,graetzer/arangodb,baslr/ArangoDB,jsteemann/arangodb,graetzer/arangodb,Simran-B/arangodb,thurt/arangodb,joerg84/arangodb,m0ppers/arangodb,m0ppers/arangodb,baslr/ArangoDB,m0ppers/arangodb,hkernbach/arangodb,joerg84/arangodb,wiltonlazary/arangodb,graetzer/arangodb,Simran-B/arangodb,Simran-B/arangodb,thurt/arangodb,m0ppers/arangodb,m0ppers/arangodb,m0ppers/arangodb,kangkot/arangodb,jsteemann/arangodb,CoDEmanX/ArangoDB,hkernbach/arangodb,hkernbach/arangodb,joerg84/arangodb,Simran-B/arangodb,graetzer/arangodb,baslr/ArangoDB,arangodb/arangodb,baslr/ArangoDB,wiltonlazary/arangodb,kangkot/arangodb,CoDEmanX/ArangoDB,graetzer/arangodb,CoDEmanX/ArangoDB,arangodb/arangodb,m0ppers/arangodb,Simran-B/arangodb,m0ppers/arangodb,wiltonlazary/arangodb,graetzer/arangodb,thurt/arangodb,joerg84/arangodb,arangodb/arangodb,joerg84/arangodb,fceller/arangodb,joerg84/arangodb,thurt/arangodb,wiltonlazary/arangodb,baslr/ArangoDB,arangodb/arangodb,arangodb/arangodb,kangkot/arangodb,jsteemann/arangodb,wiltonlazary/arangodb,arangodb/arangodb,CoDEmanX/ArangoDB,CoDEmanX/ArangoDB,m0ppers/arangodb,baslr/ArangoDB,fceller/arangodb,thurt/arangodb,arangodb/arangodb,joerg84/arangodb,CoDEmanX/ArangoDB,graetzer/arangodb,joerg84/arangodb,jsteemann/arangodb,m0ppers/arangodb,Simran-B/arangodb,CoDEmanX/ArangoDB,m0ppers/arangodb,Simran-B/arangodb,jsteemann/arangodb,baslr/ArangoDB,hkernbach/arangodb,kangkot/arangodb,joerg84/arangodb,hkernbach/arangodb,graetzer/arangodb,fceller/arangodb,wiltonlazary/arangodb,graetzer/arangodb,kangkot/arangodb,Simran-B/arangodb,wiltonlazary/arangodb,hkernbach/arangodb,thurt/arangodb,kangkot/arangodb,joerg84/arangodb,baslr/ArangoDB,CoDEmanX/ArangoDB,fceller/arangodb,graetzer/arangodb,fceller/arangodb,graetzer/arangodb,fceller/arangodb,Simran-B/arangodb,wiltonlazary/arangodb,Simran-B/arangodb,fceller/arangodb,kangkot/arangodb,hkernbach/arangodb,hkernbach/arangodb,kangkot/arangodb,hkernbach/arangodb,baslr/ArangoDB,baslr/ArangoDB