summaryrefslogtreecommitdiffstats
path: root/test/memleaktest.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/memleaktest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/memleaktest.c b/test/memleaktest.c
index 97827b8e9c..a830d55ee7 100644
--- a/test/memleaktest.c
+++ b/test/memleaktest.c
@@ -44,7 +44,7 @@ int main(int argc, char *argv[])
*/
int exitcode = EXIT_FAILURE;
#endif
- char *lost;
+ char *volatile lost;
lost = OPENSSL_malloc(3);
if (!TEST_ptr(lost))