diff options
Diffstat (limited to 'src/common/mac')
-rw-r--r-- | src/common/mac/dump_syms.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/mac/dump_syms.mm b/src/common/mac/dump_syms.mm index 13368292..e2afc724 100644 --- a/src/common/mac/dump_syms.mm +++ b/src/common/mac/dump_syms.mm @@ -166,6 +166,7 @@ static BOOL StringTailMatches(NSString *str, NSString *tail) { char buffer[PATH_MAX]; snprintf(buffer, sizeof(buffer), "/tmp/dump_syms_filtXXXXX"); int fd = mkstemp(buffer); + unlink(buffer); char nl = '\n'; for (unsigned int i = 0; i < count; ++i) { const char *symbol = [[symbols objectAtIndex:i] UTF8String]; |