summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2017-03-22 23:03:05 +0100
committernorly <ny-git@enpas.org>2017-03-22 23:03:05 +0100
commitb3c2473aa47944c48875cc5568461719cd2bc4df (patch)
tree9cd85d40e73e96fe99150bf24fc9cec6995877f8
parent6e7f8008fe60e0fb41550ea3c401352091668119 (diff)
Oops, we don't free bap_frame->data :-*
-rw-r--r--vw-bap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/vw-bap.c b/vw-bap.c
index 5e81524..2d7daec 100644
--- a/vw-bap.c
+++ b/vw-bap.c
@@ -180,10 +180,6 @@ struct BAP_Frame* vw_bap_handle_can_frame(struct BAP_RXer *bap, struct can_frame
void vw_bap_frame_free(struct BAP_Frame *bap_frame)
{
- if (bap_frame->data) {
- free(bap_frame->data);
- }
-
free(bap_frame);
}