fix compilation issues on older gcc5

This commit is contained in:
Purdea Andrei 2020-06-03 15:55:21 +03:00
parent 859341273e
commit c217d7d759
1 changed files with 4 additions and 4 deletions

View File

@ -801,8 +801,8 @@ static void read_iconfig_file(const char*ipath)
fclose(ifile);
for (vector<pair<char *, bool> >::iterator it = to_build_library_index.begin() ;
it != to_build_library_index.end() ; ++ it ) {
build_library_index(get<0>(*it), get<1>(*it));
free(get<0>(*it));
build_library_index(it->first, it->second);
free(it->first);
}
}