| 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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 if (NULL != capture->symbols) { | 711 if (NULL != capture->symbols) { |
| 713 XRaySymbolTableFree(capture->symbols); | 712 XRaySymbolTableFree(capture->symbols); |
| 714 } | 713 } |
| 715 XRayFree(capture->frame.entry); | 714 XRayFree(capture->frame.entry); |
| 716 XRayFree(capture->buffer); | 715 XRayFree(capture->buffer); |
| 717 capture->initialized = false; | 716 capture->initialized = false; |
| 718 XRayFree(capture); | 717 XRayFree(capture); |
| 719 } | 718 } |
| 720 | 719 |
| 721 #endif /* XRAY */ | 720 #endif /* XRAY */ |
| OLD | NEW |