1
1
Anderson Toshiyuki Sasaki f427a975b8 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>
2018-11-30 18:28:40 +01:00
..
2016-02-03 09:01:29 +01:00
2009-05-04 22:30:21 +00:00
2010-05-17 20:08:11 +02:00
2008-03-17 02:31:22 +00:00
2018-10-19 17:42:55 +02:00
2009-11-05 18:18:35 +01:00
2008-03-17 02:31:22 +00:00