Fix a potential leak of nl_msg objects
authorVinit Deshpande <vinitd@google.com>
Fri, 11 Dec 2015 21:44:59 +0000 (13:44 -0800)
committerThierry Strudel <tstrudel@google.com>
Mon, 14 Dec 2015 22:25:18 +0000 (22:25 +0000)
commit3a30c034a9f319692c2ba131906e009eaa254817
tree2daf13f10c70dc7413deeff50a2cb2c3a3d3d8e2
parent5585f1fb701b327ccfbb995610f2ae5657f390c8
Fix a potential leak of nl_msg objects

It was discovered on other repos that a leak can
be caused by repeated usage of create().

Bug: 26116598
Change-Id: Ie6cd318171e58d3ffa1a6c8f58cfa38ea7d78b00
bcmdhd/wifi_hal/cpp_bindings.cpp