Diff between 6bbd5c1736bc60b97b42618325f92fd7ba2f3e19 and c838bfcbb94bea99336007ed1d189eaa82d09352
Changed Files
| File | Additions | Deletions | Status |
| android/a2dp.c | +2 | -0 | modified |
Full Patch
diff --git a/android/a2dp.c b/android/a2dp.c
index a5ea5a0..a36e9a3 100644
--- a/android/a2dp.c
+++ b/android/a2dp.c
@@ -1181,6 +1181,8 @@ static void bt_stream_open(const void *buf, uint16_t len)
memcpy(rsp->preset->data, setup->preset->data, setup->preset->len);
audio_ipc_send_rsp_full(AUDIO_OP_OPEN_STREAM, len, rsp, -1);
+
+ g_free(rsp);
}
static void bt_stream_close(const void *buf, uint16_t len)