commit | 6f8e3362c73a9a9e87f0964c27e3929c63520366 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Mon Mar 04 13:50:10 2019 -0800 |
committer | Greg Kaiser <gkaiser@google.com> | Tue Apr 02 15:01:33 2019 -0700 |
tree | cdcfcb43322e03566ca2ba68f80afb25a22ad561 | |
parent | c0884f535a3515c1c3e2eef9383d2dfa7983dfb9 [diff] |
AMRWB_E_SAMPLE: Fix resource leaks in error cases We also avoid a pontential call to dlclose(NULL) which was possible in the previous code. Note the leaks aren't really consequential since this is a standalone sample. But by putting in simple fixes for these, we reduce the noise when using static analysis to find leaks in Android code. Test: TreeHugger Change-Id: I3f69e410ecf611dcb60e4f58aae27801b2141e4d