Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(674)

Unified Diff: runtime/szrt_asan.c

Issue 2165393002: Subzero: small cleanups (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests_lit/asan_tests/errors.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/szrt_asan.c
diff --git a/runtime/szrt_asan.c b/runtime/szrt_asan.c
index 25ce60ea4df1def073344f5011b9174c541631b6..dc430966ee81626c325a8a9850364ab0cd3481ce 100644
--- a/runtime/szrt_asan.c
+++ b/runtime/szrt_asan.c
@@ -196,7 +196,7 @@ void *__asan_realloc(char *ptr, size_t size) {
void __asan_free(char *ptr) {
DUMP("free() called on %p\n", ptr);
- void *rz_left, *rz_right;
+ char *rz_left, *rz_right;
__asan_get_redzones(ptr, &rz_left, &rz_right);
size_t rz_right_size = *(size_t *)rz_right;
__asan_unpoison(rz_left, RZ_SIZE);
« no previous file with comments | « no previous file | tests_lit/asan_tests/errors.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698