[PATCH] x86: fix potential memleak in do_error_trap

From: Michal Hocko
Date: Mon May 23 2016 - 09:54:36 EST


And here is the x86 one. I haven't found others so far but I haven't
checked other architectures and I might have missed some callpaths for
x86 as well. Also please note this hasn't been tested properly and
it is based on the code reading.
---