[Scummvm-git-logs] scummvm master -> a42f03643c689895720255cc160a4f8e023e4560

lephilousophe noreply at scummvm.org
Sun Jun 23 14:06:34 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a42f03643c TESTS: Fix malloc/delete discrepancy


Commit: a42f03643c689895720255cc160a4f8e023e4560
    https://github.com/scummvm/scummvm/commit/a42f03643c689895720255cc160a4f8e023e4560
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2024-06-23T16:06:16+02:00

Commit Message:
TESTS: Fix malloc/delete discrepancy

Changed paths:
    test/common/base64.h


diff --git a/test/common/base64.h b/test/common/base64.h
index 8e45407905c..ed911c99eaf 100644
--- a/test/common/base64.h
+++ b/test/common/base64.h
@@ -107,7 +107,7 @@ class Base64TestSuite : public CxxTest::TestSuite {
 
 			Common::String string(data, strlen(base64_test_string[i]));
 			TS_ASSERT_EQUALS(string, base64_test_string[i]);
-			delete data;
+			free(data);
 		}
 	}
 




More information about the Scummvm-git-logs mailing list