about summary refs log tree commit diff
path: root/qemu_mode
diff options
context:
space:
mode:
Diffstat (limited to 'qemu_mode')
-rw-r--r--qemu_mode/libqasan/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu_mode/libqasan/malloc.c b/qemu_mode/libqasan/malloc.c
index 6fe6fc8c..5893a4e5 100644
--- a/qemu_mode/libqasan/malloc.c
+++ b/qemu_mode/libqasan/malloc.c
@@ -106,7 +106,7 @@ static pthread_spinlock_t quarantine_lock;
 #endif
 
 // need qasan disabled
-static int quanratine_push(struct chunk_begin *ck) {
+static int quarantine_push(struct chunk_begin *ck) {
 
   if (ck->requested_size >= QUARANTINE_MAX_BYTES) return 0;
 
@@ -236,7 +236,7 @@ void __libqasan_free(void *ptr) {
   QASAN_STORE(ptr, n);
   int state = QASAN_SWAP(QASAN_DISABLED);  // disable qasan for this thread
 
-  if (!quanratine_push(p)) {
+  if (!quarantine_push(p)) {
 
     if (p->aligned_orig)
       backend_free(p->aligned_orig);