# Guidance for NDK API memory release

Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/guidance_for_ndk_api_memory_release.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/guidance_for_ndk_api_memory_release.html)

If an out parameter of a native API is `blob/vector<blob>/blob `in
        struct, the application needs to deallocate memory of `data(uint8_t*)` in
        blob using the `delete` operator to avoid a memory leak.

**Parent Topic:** QESDK Native API

Last Published: Nov 14, 2024

Previous Topic
 
qesdk\_type\_t enum Next Topic

Example code