commit | 62fd12149f73feb4e9c93a961670d527436a6e33 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jul 12 09:12:07 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jul 12 09:12:07 2020 +0200 |
tree | 871e803d53ce1d57e70fcb1d1955a9f90b68ec93 | |
parent | 950954f5f7dbf218f4100921e2660c357ed50ad3 [diff] |
CONTRIB: da: fix memory leak in dummy function da_atlas_open() The dummy function takes care of doing a bit of work using a malloc() to avoid returning a constant but it doesn't free the tested pointer, which coverity noticed in issue #741. Let's free it before testing it for the return value. This may be backported but is not important since this code is only present to allow to build the device detection code and not to actually run it.