OSDN Git Service

bufferhubd: Fix an error on not closing post_fence explicitly.
authorAlex Vakulenko <avakulenko@google.com>
Fri, 31 Mar 2017 16:10:43 +0000 (09:10 -0700)
committerAlex Vakulenko <avakulenko@google.com>
Fri, 31 Mar 2017 17:45:52 +0000 (10:45 -0700)
commit052f3aeb8cf11b3ae7271490c5fee2dcec566c31
tree59c481b3ff50b7eaa63464e4373212825ff71028
parenta1336cf0decf0bafeae874dfcb1521339165a9b9
bufferhubd: Fix an error on not closing post_fence explicitly.

There is a typo in the code that instead of calling close() on a Post
fence, actually did get_fd() which is really a no-op.

Fixed by changing the call to call() explicitly.

Bug: None
Test: `m -j32` succeeds. Sailfish boots, CubeSea works.
Change-Id: If788aa8ea291317f0618724ecc35a4b355575772
services/vr/bufferhubd/producer_channel.cpp