Implicitly inserted capwap_outofmemory() into the capwap_alloc().

capwap_alloc() can never return NULL.
This commit is contained in:
vemax78
2013-08-18 19:07:19 +02:00
parent 177e997d47
commit d34e98fc2c
87 changed files with 85 additions and 589 deletions

View File

@ -310,10 +310,6 @@ static int ac_parsing_configuration_1_0(config_t* config) {
desc->length = lengthValue;
desc->data = (uint8_t*)capwap_alloc(desc->length + 1);
if (!desc->data) {
capwap_outofmemory();
}
strcpy((char*)desc->data, configValue);
desc->data[desc->length] = 0;
} else {