aboutsummaryrefslogtreecommitdiff
path: root/src/libcrypto.c
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2018-11-29 13:22:59 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-30 18:28:40 +0100
commitf427a975b8a4b2aee2ba0c37e28d6ebbf84c67fb (patch)
tree2de1cc049ec9b3348cd34caf01e367ec5018ca88 /src/libcrypto.c
parentc413834764707df1316790d4182aea4135589108 (diff)
downloadlibssh-f427a975b8a4b2aee2ba0c37e28d6ebbf84c67fb.tar.gz
libssh-f427a975b8a4b2aee2ba0c37e28d6ebbf84c67fb.tar.xz
libssh-f427a975b8a4b2aee2ba0c37e28d6ebbf84c67fb.zip
tests: Fix a clang possible memory leak warning
clang was reporting a possible memory leak after mkdtemp() call, which was a false positive, since mkdtemp() returns the same pointer provided as the parameter, in case of success. This changes the code so that the static analyser don't get confused. Found by csbuild runner. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/libcrypto.c')
0 files changed, 0 insertions, 0 deletions