Merge pull request #418 from signalwire/mod_python
[mod_python] scan-build: Fix "Argument with 'nonnull' attribute passed null"
This commit is contained in:
commit
22e0beefad
|
@ -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