commit | 6ba5efd59ad9b56ece0fe4e5c36c287368b41ad4 | [log] [tgz] |
---|---|---|
author | David Turner <digit@android.com> | Mon May 10 16:04:02 2010 -0700 |
committer | Android Code Review <code-review@android.com> | Mon May 10 16:04:02 2010 -0700 |
tree | 3da88d61cc3e919d3297b3a6a182e932141bbfec | |
parent | 161232820c715ec12952b859593ea05c458d6916 [diff] | |
parent | 051ea9bc07809a2638e5f022ae10330e23530f64 [diff] |
Merge "stdio: simplify __fremovelock()"
diff --git a/libc/stdio/flockfile.c b/libc/stdio/flockfile.c index a81879e..bfb081c 100644 --- a/libc/stdio/flockfile.c +++ b/libc/stdio/flockfile.c
@@ -205,8 +205,6 @@ lock->file = NULL; } lock_table_unlock(t); - - if (lock != NULL) - free(lock); + free(lock); } }