mirror of
https://github.com/holub/mame
synced 2025-05-22 21:58:57 +03:00
Provide location in "attempt to free untracked memory" message
This commit is contained in:
parent
4f32209c06
commit
a0a40f8815
@ -151,7 +151,7 @@ void free_file_line(void *memory, const char *file, int line)
|
||||
// warn about untracked frees
|
||||
if (entry == NULL)
|
||||
{
|
||||
fprintf(stderr, "Error: attempt to free untracked memory!\n");
|
||||
fprintf(stderr, "Error: attempt to free untracked memory in %s(%d)!\n", file, line);
|
||||
osd_break_into_debugger("Error: attempt to free untracked memory");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user