Commit 381bb3c1 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix use after free

parent a585f689
......@@ -1211,6 +1211,7 @@ class PushManager(Manager):
reset()
with ses.begin():
version = ses.query(WebappVersion).filter_by(id=version_id).one()
prev = ses.query(WebappVersion).filter_by(
webapp_id = version.webapp_id,
number = version.number,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment