diff options
author | SiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-11-01 22:10:10 +0000 |
---|---|---|
committer | SiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-11-01 22:10:10 +0000 |
commit | 3382d1e0a6ed8f34ff20777475aea6624c463667 (patch) | |
tree | 3699020b5e2660d69416373f8d84978995d79bad /src/google_breakpad/processor | |
parent | Restrict ownership of symbol data buffers to symbol supplier. (diff) | |
download | breakpad-3382d1e0a6ed8f34ff20777475aea6624c463667.tar.xz |
Tiny fix for memory allocation/deallocation mismatch
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@722 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/google_breakpad/processor')
-rw-r--r-- | src/google_breakpad/processor/source_line_resolver_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/google_breakpad/processor/source_line_resolver_base.h b/src/google_breakpad/processor/source_line_resolver_base.h index d950a736..efa76e7e 100644 --- a/src/google_breakpad/processor/source_line_resolver_base.h +++ b/src/google_breakpad/processor/source_line_resolver_base.h @@ -60,6 +60,8 @@ class SourceLineResolverBase : public SourceLineResolverInterface { // Read the symbol_data from a file with given file_name. // The part of code was originally in BasicSourceLineResolver::Module's // LoadMap() method. + // Place dynamically allocated heap buffer in symbol_data. Caller has the + // ownership of the buffer, and should call delete [] to free the buffer. static bool ReadSymbolFile(char **symbol_data, const string &file_name); protected: |