| 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 /* Hashtable for XRay */ | 6 /* Hashtable for XRay */ |
| 8 | 7 |
| 9 #include <stdint.h> | 8 #include <stdint.h> |
| 10 #include <stdio.h> | 9 #include <stdio.h> |
| 11 #include <stdlib.h> | 10 #include <stdlib.h> |
| 12 #include <string.h> | 11 #include <string.h> |
| 13 #include "xray/xray_priv.h" | 12 #include "xray/xray_priv.h" |
| 14 | 13 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 void XRayHashTableFree(struct XRayHashTable* table) { | 196 void XRayHashTableFree(struct XRayHashTable* table) { |
| 198 XRayFree(table->array); | 197 XRayFree(table->array); |
| 199 table->capacity = 0; | 198 table->capacity = 0; |
| 200 table->count = 0; | 199 table->count = 0; |
| 201 table->array = NULL; | 200 table->array = NULL; |
| 202 XRayFree(table); | 201 XRayFree(table); |
| 203 } | 202 } |
| 204 | 203 |
| 205 #endif /* XRAY */ | 204 #endif /* XRAY */ |
| 206 | 205 |
| OLD | NEW |