fix raw pointer that wasn't deleted in quasimo

Signed-off-by: Alex McCaskey <>
1 job for master in 16 minutes and 11 seconds (queued for 2 seconds)
Name Stage Failure
docker build_master Build
  such file or directory.
Call Stack (most recent call first):
cmake_install.cmake:53 (include)

make: *** [Makefile:93: install] Error 1
The command '/bin/sh -c cd ../../ && git clone -b master && cd qcor && mkdir build && cd build && cmake .. -DXACC_DIR=~/.xacc -DLLVM_ROOT=/usr/local/aideqc/llvm -DMLIR_DIR=/usr/local/aideqc/llvm/lib/cmake/mlir -DQCOR_BUILD_TESTS=TRUE && make -j$(nproc) install && ctest -j4 --output-on-failure' returned a non-zero code: 2
Cleaning up file based variables
ERROR: Job failed: exit status 1