thread-safe vector adapter

This commit is contained in:
fc_botelho
2005-10-10 17:43:21 +00:00
parent 54b8ded9ed
commit bb8335f65b
5 changed files with 68 additions and 28 deletions

View File

@@ -26,7 +26,7 @@ int main(int argc, char **argv)
fprintf(stderr, "Id:%u\n", id);
//Destroy hash
cmph_destroy(hash);
free(source);
cmph_io_nlfile_adapter_destroy(source);
fclose(keys_fd);
return 0;
}

View File

@@ -21,6 +21,6 @@ int main(int argc, char **argv)
fprintf(stderr, "Id:%u\n", id);
//Destroy hash
cmph_destroy(hash);
free(source);
cmph_io_vector_adapter_destroy(source);
return 0;
}