Fix some issues caught by check_stdlib_usage.py

This commit is contained in:
Sam Lantinga committed 2023-06-27 06:19:06 -07:00
1 parent e8d2ccbc1c
commit c065a9b128
15 files changed
+41 -39

No files matched your search

@@ -81,6 +81,7 @@ words = [
'lroundf',
'ltoa',
'malloc',
'memalign',
'memcmp',
'memcpy',
'memcpy4',
@@ -199,7 +200,7 @@ def find_symbols_in_file(file, regex):
if regex.match(l):
# free() allowed here
if "This should NOT be SDL_free" in l:
if "This should NOT be SDL_" in l:
continue
# double check