diff options
author | 2010-01-08 14:53:52 +0000 | |
---|---|---|
committer | 2010-01-08 14:53:52 +0000 | |
commit | a0a40f8815e5c16bd2ab8ee333d19bcfe1e6ee55 (patch) | |
tree | 2ca8a58e4e25ec02b13c28b4f16dc1f7e479c913 /src/emu/emualloc.c | |
parent | 4f32209c0647e6693e7db0d6885dc60312919062 (diff) |
Provide location in "attempt to free untracked memory" message
Diffstat (limited to 'src/emu/emualloc.c')
-rw-r--r-- | src/emu/emualloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/emualloc.c b/src/emu/emualloc.c index c053a0f8d69..a4af9bd7367 100644 --- a/src/emu/emualloc.c +++ b/src/emu/emualloc.c @@ -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; } |