if ( (in_data = (uint8_t*)SMB_MALLOC(size)) == NULL ) {
printf("Failure to allocate buff of %d bytes\n",
size);
- goto done;
+ result = NT_STATUS_NO_MEMORY;
+ goto done;
}
if ( (out_data = (uint8_t*)SMB_MALLOC(size)) == NULL ) {
printf("Failure to allocate buff of %d bytes\n",
size);
- goto done;
+ result = NT_STATUS_NO_MEMORY;
+ goto done;
}
for (i = 0; i < size; i++)
if ( (out_data = (uint8_t*)SMB_MALLOC(size)) == NULL ) {
printf("Failure to allocate buff of %d bytes\n",
size);
+ result = NT_STATUS_NO_MEMORY;
goto done;
}
if ( (in_data = (uint8_t*)SMB_MALLOC(size)) == NULL ) {
printf("Failure to allocate buff of %d bytes\n",
size);
+ result = NT_STATUS_NO_MEMORY;
goto done;
}