OSDN Git Service

Fix a inappropriate return of local var address
authorliuchao <liuchao741@huawei.com>
Fri, 5 May 2017 03:04:33 +0000 (11:04 +0800)
committerMarie Janssen <jamuraa@google.com>
Tue, 27 Jun 2017 20:51:30 +0000 (20:51 +0000)
commit3e3fd4d6ef3c57958b8be67f55539f8388b397a3
tree8fcec22a718719d86e9946003d2c3a7ac1f1c442
parentba78601034bd61d345a3ac92b297831ff8e6978a
Fix a inappropriate return of local var address

Local variable address is returned through giving to
"p_db->p_attrs", which needs to be available after
returned from the function.

Test: mm -j8
Change-Id: I68744d0c925e3ea384a07ad6491fe831d59ee2fd
stack/a2dp/a2dp_api.cc
stack/avrc/avrc_sdp.cc