Lib Argus ASAN alloc-dealloc-mismatch error in JetPack 6.1

When destroying the Argus object, gcc ASAN detects a mismatch with the new / delete operator, that could lead to heap corruption.

=================================================================
==33325==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs operator delete) on 0xffff8b08b800
    #0 0xffffa8a0cacc in operator delete(void*, unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:172
    #1 0xffffa544a918  (/usr/lib/aarch64-linux-gnu/nvidia/libnvscf.so+0x15a918)
    #2 0xffffa544a9e0  (/usr/lib/aarch64-linux-gnu/nvidia/libnvscf.so+0x15a9e0)
    #3 0xffffa535dd94  (/usr/lib/aarch64-linux-gnu/nvidia/libnvscf.so+0x6dd94)
    #4 0xffffa8893160  (/usr/lib/aarch64-linux-gnu/nvidia/libnvargus.so+0x93160)
    #5 0xaaaae44ae0c0 in Argus::UniqueObj<Argus::OutputStream>::reset(Argus::OutputStream*) /usr/src/jetson_multimedia_api/argus/include/Argus/Types.h:486
    #6 0xaaaae449a91c in Argus::UniqueObj<Argus::OutputStream>::~UniqueObj() /usr/src/jetson_multimedia_api/argus/include/Argus/Types.h:493
    #7 0xaaaae449a91c in main /work/tests/test_argus/main.cpp:84
    #8 0xffffa5b073f8 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #9 0xffffa5b074c8 in __libc_start_main_impl ../csu/libc-start.c:392
    #10 0xaaaae4497d2c in _start (/work/tests/test_argus/test_argus+0x7d2c)

0xffff8b08b800 is located 0 bytes inside of 233096-byte region [0xffff8b08b800,0xffff8b0c4688)
allocated by thread T0 here:
    #0 0xffffa8a0bf70 in operator new[](unsigned long, std::nothrow_t const&) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:108
    #1 0xffffa54498a8  (/usr/lib/aarch64-linux-gnu/nvidia/libnvscf.so+0x1598a8)
    #2 0xffffa5b073f8 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #3 0xffffa5b074c8 in __libc_start_main_impl ../csu/libc-start.c:392
    #4 0xaaaae4497d2c in _start (/work/tests/test_argus/test_argus+0x7d2c)

SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_new_delete.cpp:172 in operator delete(void*, unsigned long)

I made a simple reproductible test code, it needs a camera connected to the Orin:

hello WillFINK,

let’s narrow down the issue,
for instance, please exclude CUDA service to reproduce this, or, please check with preview camera stream only.