diff options
author | Martin Anderseck <martin.anderseck@ni.com> | 2021-08-04 09:45:39 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-08-04 07:05:20 -0500 |
commit | ae82759d004fa62c60b7ec36041f7f242e6bf22d (patch) | |
tree | 3a75142be040c609a2e09cfe4c9b96274b81aee5 /.ci/uhd-pipeline.yml | |
parent | cd0adcd43a6067ca8c9b717bc5d5d26f79738183 (diff) | |
download | uhd-ae82759d004fa62c60b7ec36041f7f242e6bf22d.tar.gz uhd-ae82759d004fa62c60b7ec36041f7f242e6bf22d.tar.bz2 uhd-ae82759d004fa62c60b7ec36041f7f242e6bf22d.zip |
test: Fix potential resource leak
Fixed issue where variable tmp_file going out of scope could have
leaked the storage it points to. Replaced the declaration of tmp_file
by using a unique pointer with custom deleter that takes care of
closing the tmpfile when it is not needed anymore.
Diffstat (limited to '.ci/uhd-pipeline.yml')
0 files changed, 0 insertions, 0 deletions