Coverity fix 88048
Coverity fix 88048
This commit is contained in:
@ -714,7 +714,7 @@ module_create_feedback_report(GWBUF **buffer, MODULES *modules, FEEDBACK_CONF *c
|
|||||||
report_max_bytes = ((n_mod * 4) + 7) * (_NOTIFICATION_REPORT_ROW_LEN + 1);
|
report_max_bytes = ((n_mod * 4) + 7) * (_NOTIFICATION_REPORT_ROW_LEN + 1);
|
||||||
*buffer = gwbuf_alloc(report_max_bytes);
|
*buffer = gwbuf_alloc(report_max_bytes);
|
||||||
|
|
||||||
if (buffer == NULL) {
|
if (*buffer == NULL) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user