From 3382d1e0a6ed8f34ff20777475aea6624c463667 Mon Sep 17 00:00:00 2001 From: "SiyangXie@gmail.com" Date: Mon, 1 Nov 2010 22:10:10 +0000 Subject: Tiny fix for memory allocation/deallocation mismatch git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@722 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/google_breakpad/processor/source_line_resolver_base.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/google_breakpad/processor') 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: -- cgit v1.2.1