==16282== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==16282== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==16282== Command: ./main
==16282== Parent PID: 16027
==16282==
--16282--
--16282-- Valgrind options:
--16282-- --leak-check=full
--16282-- --show-leak-kinds=all
--16282-- --track-origins=yes
--16282-- --verbose
--16282-- --log-file=valgrind-out.txt
--16282-- Contents of /proc/version:
--16282-- Linux version 4.15.0-48-generic (buildd@lgw01-amd64-036) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019
--16282--
--16282-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--16282-- Page sizes: currently 4096, max supported 4096
==16282== All heap blocks were freed -- no leaks are possible
==16282==
==16282== ERROR SUMMARY: 8 errors from 1 contexts (suppressed: 0 from 0)
==16282==
==16282== 8 errors in context 1 of 1:
==16282== Mismatched free() / delete / delete []
==16282== at 0x4C3173B: operator delete[](void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16282== by 0x10F4CB: main (in /home/acheroufkebir/PAP/pap_ray_tracing_final/main)
==16282== Address 0x5fccc80 is 0 bytes inside a block of size 48 alloc'd
==16282== at 0x4C3017F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16282== by 0x10EC86: main (in /home/acheroufkebir/PAP/pap_ray_tracing_final/main)
==16282==
==16282== ERROR SUMMARY: 8 errors from 1 contexts (suppressed: 0 from 0)
==18910== Memcheck, a memory error detector
==18910== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==18910== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==18910== Command: ./main
==18910== Parent PID: 16027
==18910==
--18910--
--18910-- Valgrind options:
--18910-- --leak-check=full
--18910-- --show-leak-kinds=all
--18910-- --track-origins=yes
--18910-- --verbose
--18910-- --log-file=valgrind-out.txt
--18910-- Contents of /proc/version:
--18910-- Linux version 4.15.0-48-generic (buildd@lgw01-amd64-036) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019
--18910--
--18910-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--18910-- Page sizes: currently 4096, max supported 4096