Commit 899e8a3d authored by Lucas Russo's avatar Lucas Russo

libclient/bpm_client.c: fix destructor memory leak

Missing a trivial free at the end of the bpm_client
destructor
parent ac150a05
...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment