Skip to content

Commit

Permalink
iio.c: Free desc->trigs in iio_remove
Browse files Browse the repository at this point in the history
Free desc->trigs in iio_remove.

Signed-off-by: Ramona Bolboaca <[email protected]>
  • Loading branch information
rbolboac authored and CiprianRegus committed Mar 8, 2023
1 parent 7eb570b commit 05a8d74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iio/iio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1957,6 +1957,7 @@ int iio_remove(struct iio_desc *desc)
no_os_cb_remove(desc->conns);
iiod_remove(desc->iiod);
free(desc->devs);
free(desc->trigs);
free(desc->xml_desc);
free(desc);

Expand Down

0 comments on commit 05a8d74

Please sign in to comment.