Skip to content
Snippets Groups Projects
Commit 7b20b4cb authored by Edward Z. Yang's avatar Edward Z. Yang Committed by GitHub
Browse files

Merge pull request #73 from ezyang/pr/fix-segfault

Fix segfault from inconsistent macro use.
parents d73ba584 748e3224
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ char *__hscore_d_name( struct dirent* d )
void __hscore_free_dirent(struct dirent *dEnt)
{
#if HAVE_READDIR_R
#if HAVE_READDIR_R && USE_READDIR_R
free(dEnt);
#endif
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment