projects
/
revag-bap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7f800
)
Oops, we don't free bap_frame->data :-*
author
norly
<ny-git@enpas.org>
Wed, 22 Mar 2017 22:03:05 +0000
(23:03 +0100)
committer
norly
<ny-git@enpas.org>
Wed, 22 Mar 2017 22:03:05 +0000
(23:03 +0100)
vw-bap.c
patch
|
blob
|
history
diff --git
a/vw-bap.c
b/vw-bap.c
index 5e815246a03bd8c40ebd0c2b93107f39495ee189..2d7daec1ff78b3d733f9be867670ff150948b2b7 100644
(file)
--- 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);
}