[sr-dev] git:master:8353b034: app_python: several free of allocated vars in case of errors