Skip to content

Commit

Permalink
Revert part of #1473
Browse files Browse the repository at this point in the history
  • Loading branch information
linas committed Jun 19, 2023
1 parent 0052fb9 commit 7d94611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion link-grammar/parse/extract-links.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ void free_extractor(extractor_t * pex)

xfree((void *) pex, sizeof(extractor_t));

#if defined __GLIBC__ && defined HAVE_MALLOC_TRIM
#if defined __GLIBC__
// malloc_trim() is a gnu extension. An alternative would be
// to call madvise(MADV_DONTNEED) but this is more complicated.
if (trim) malloc_trim(0);
Expand Down

0 comments on commit 7d94611

Please sign in to comment.