mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-24 08:15:01 +01:00
Restrict ownership of symbol data buffers to symbol supplier.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@721 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
eabfff133d
commit
a8c1c466a1
18 changed files with 200 additions and 126 deletions
|
|
@ -60,11 +60,6 @@ static const char *kWhitespace = " \r\n";
|
|||
BasicSourceLineResolver::BasicSourceLineResolver() :
|
||||
SourceLineResolverBase(new BasicModuleFactory) { }
|
||||
|
||||
void BasicSourceLineResolver::DeleteDataAfterLoad(char *symbol_data) {
|
||||
// Always delete allocated memory after loading symbol.
|
||||
delete symbol_data;
|
||||
}
|
||||
|
||||
bool BasicSourceLineResolver::Module::LoadMapFromMemory(char *memory_buffer) {
|
||||
linked_ptr<Function> cur_func;
|
||||
int line_number = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue