diff --git a/libc/stdio/flockfile.c b/libc/stdio/flockfile.c index a81879efc..bfb081cde 100644 --- a/libc/stdio/flockfile.c +++ b/libc/stdio/flockfile.c @@ -205,8 +205,6 @@ __fremovelock(FILE* fp) lock->file = NULL; } lock_table_unlock(t); - - if (lock != NULL) - free(lock); + free(lock); } }