Merge "stdio: simplify __fremovelock()"

This commit is contained in:
David Turner 2010-05-10 16:04:02 -07:00 committed by Android Code Review
commit 6ba5efd59a

View File

@ -205,8 +205,6 @@ __fremovelock(FILE* fp)
lock->file = NULL; lock->file = NULL;
} }
lock_table_unlock(t); lock_table_unlock(t);
free(lock);
if (lock != NULL)
free(lock);
} }
} }