Coverity fix 88048

Coverity fix 88048
This commit is contained in:
MassimilianoPinto
2015-03-10 13:13:36 +01:00
parent bd25e2285e
commit 52918e904a

View File

@ -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);
*buffer = gwbuf_alloc(report_max_bytes);
if (buffer == NULL) {
if (*buffer == NULL) {
return 0;
}