| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. */ |
| 4 */ | |
| 5 | 4 |
| 6 | 5 |
| 7 /* XRay -- a simple profiler for Native Client */ | 6 /* XRay -- a simple profiler for Native Client */ |
| 8 | 7 |
| 9 #include <assert.h> | 8 #include <assert.h> |
| 10 #include <errno.h> | 9 #include <errno.h> |
| 11 #include <stdarg.h> | 10 #include <stdarg.h> |
| 12 #include <stdint.h> | 11 #include <stdint.h> |
| 13 #include <stdio.h> | 12 #include <stdio.h> |
| 14 #include <stdlib.h> | 13 #include <stdlib.h> |
| (...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 if (NULL != capture->symbols) { | 765 if (NULL != capture->symbols) { |
| 767 XRaySymbolTableFree(capture->symbols); | 766 XRaySymbolTableFree(capture->symbols); |
| 768 } | 767 } |
| 769 XRayFree(capture->frame.entry); | 768 XRayFree(capture->frame.entry); |
| 770 XRayFree(capture->buffer); | 769 XRayFree(capture->buffer); |
| 771 capture->initialized = false; | 770 capture->initialized = false; |
| 772 XRayFree(capture); | 771 XRayFree(capture); |
| 773 } | 772 } |
| 774 | 773 |
| 775 #endif /* XRAY */ | 774 #endif /* XRAY */ |
| OLD | NEW |