If we can't allocate the NBL just go to the cleanup sequence.
Found using WDK 10 static code analysis.
Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Shashank Ram <shashank08@gmail.com>
if (*newNbl == NULL) {
OVS_LOG_ERROR("Insufficient resources, failed to allocate newNbl");
status = NDIS_STATUS_RESOURCES;
if (*newNbl == NULL) {
OVS_LOG_ERROR("Insufficient resources, failed to allocate newNbl");
status = NDIS_STATUS_RESOURCES;
}
/* Complete the fragment NBL */
}
/* Complete the fragment NBL */