[sr-dev] git:master:5250fa33: app_python: proper condition to free srcbuf in exception handling