[mod_python] scan-build: Fix "Argument with 'nonnull' attribute passed null"
This commit is contained in:
parent
42d3100609
commit
d331e5947c
|
@ -90,6 +90,7 @@ static void print_python_error(const char * script)
|
|||
|
||||
if (buffer == NULL ) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Not enough Memory to create the error buffer");
|
||||
return;
|
||||
}
|
||||
|
||||
/* just for security that we will always have a string terminater */
|
||||
|
|
Loading…
Reference in New Issue