Skip to content
Snippets Groups Projects
Commit 748e3224 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Fix segfault from inconsistent macro use.

parent d73ba584
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