Skip to content

Commit

Permalink
bt/gatt: fix freeing invalid pointer
Browse files Browse the repository at this point in the history
Change-Id: I85b7139a596c0fa59ee66e7392682f193cff4d98
Signed-off-by: Slki Shin <[email protected]>
  • Loading branch information
sskcorea committed Nov 16, 2017
1 parent de6022f commit 4417e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/bluetooth/linux/gatt_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ artik_error bt_gatt_req_set_value(artik_bt_gatt_req request, int len,
memcpy(*val, value, len);

_send_request(handle, len, value);
free(handle);

return S_OK;
}

Expand Down

0 comments on commit 4417e58

Please sign in to comment.