Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
899e8a3d
Commit
899e8a3d
authored
Dec 17, 2014
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libclient/bpm_client.c: fix destructor memory leak
Missing a trivial free at the end of the bpm_client destructor
parent
ac150a05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
bpm_client.c
libclient/bpm_client.c
+1
-0
No files found.
libclient/bpm_client.c
View file @
899e8a3d
...
@@ -97,6 +97,7 @@ void bpm_client_destroy (bpm_client_t **self_p)
...
@@ -97,6 +97,7 @@ void bpm_client_destroy (bpm_client_t **self_p)
self
->
acq_chan
=
NULL
;
self
->
acq_chan
=
NULL
;
mdp_client_destroy
(
&
self
->
mdp_client
);
mdp_client_destroy
(
&
self
->
mdp_client
);
free
(
self
);
*
self_p
=
NULL
;
*
self_p
=
NULL
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment