mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
st/prober: Free builders list
This commit is contained in:
parent
afec083047
commit
cf152fe4cc
|
@ -585,6 +585,8 @@ teardown(struct prober *p)
|
|||
xrt_builder_destroy(&p->builders[i]);
|
||||
}
|
||||
p->builder_count = 0;
|
||||
free(p->builders);
|
||||
p->builders = NULL;
|
||||
|
||||
// Clean up all auto_probers.
|
||||
for (int i = 0; i < XRT_MAX_AUTO_PROBERS && p->auto_probers[i]; i++) {
|
||||
|
|
Loading…
Reference in a new issue