OLD | NEW |
1 // Copyright (c) 2006, Google Inc. | 1 // Copyright (c) 2006, Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 30 matching lines...) Expand all Loading... |
41 CallStack::~CallStack() { | 41 CallStack::~CallStack() { |
42 Clear(); | 42 Clear(); |
43 } | 43 } |
44 | 44 |
45 void CallStack::Clear() { | 45 void CallStack::Clear() { |
46 for (vector<StackFrame *>::const_iterator iterator = frames_.begin(); | 46 for (vector<StackFrame *>::const_iterator iterator = frames_.begin(); |
47 iterator != frames_.end(); | 47 iterator != frames_.end(); |
48 ++iterator) { | 48 ++iterator) { |
49 delete *iterator; | 49 delete *iterator; |
50 } | 50 } |
| 51 tid_ = 0; |
51 } | 52 } |
52 | 53 |
53 } // namespace google_breakpad | 54 } // namespace google_breakpad |
OLD | NEW |