FreeRTOS - Memory Management
Identify the error in the following FreeRTOS code snippet:
void *ptr = pvPortMalloc(50); // Some code using ptr vPortFree(ptr); vPortFree(ptr);
