From fe46f2e5f33106e0b4740e3c4fcf57f5fe7e3c8d Mon Sep 17 00:00:00 2001
From: miha-q <>
Date: Sun, 10 Mar 2024 06:46:43 -0400
Subject: [PATCH] Sun Mar 10 06:46:43 AM EDT 2024

---
 src/bytecode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bytecode.c b/src/bytecode.c
index ffc0a59..c593ca2 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -260,7 +260,7 @@ void qansel_instruction_queue
 	queueVectors[index]->rows = tmp.rows;
 	queueVectors[index]->cols = tmp.cols;
 	queueVectors[index]->ptr = tmp.ptr;
-	if (needToFreeGate) free(gate);
+	if (needToFreeGate) free(gate_ptr);
 }
 
 void qansel_instruction
-- 
2.39.5