OSDN Git Service

Allocate/free the SDP connection timers only during stack startup/shutdown
authorPavlin Radoslavov <pavlin@google.com>
Fri, 12 Jan 2018 01:28:16 +0000 (17:28 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Fri, 12 Jan 2018 05:12:47 +0000 (21:12 -0800)
commit0dbe21d88e05a43d6882248144e4e9128f4c1928
tree764df625f2d3abeffc349a0a21703fcdf61e4679
parent42fc16e9128ab2a055435ef5123cc0ee40ab3d13
Allocate/free the SDP connection timers only during stack startup/shutdown

This avoids freeing the sdp_conn_timer within the alarm callback itself.

Bug: 67110137
Test: Manual
Change-Id: I775b4b532cd42cf207258c53c6052a167a124627
Merged-In: I775b4b532cd42cf207258c53c6052a167a124627
(cherry picked from commit ef6a4a0c9d9220a7d909863349d7a0c0b967d54c)
stack/btu/btu_init.cc
stack/sdp/sdp_main.cc
stack/sdp/sdp_utils.cc
stack/sdp/sdpint.h