commit | a91c66d7c13e0143f63f0ea9c1c74ce39aecd79e | [log] [tgz] |
---|---|---|
author | Jeremy Compostella <jeremy.compostella@intel.com> | Tue Sep 08 19:15:09 2015 +0200 |
committer | Jeremy Compostella <jeremy.compostella@intel.com> | Tue Sep 08 19:15:09 2015 +0200 |
tree | 1b1288f70cf8c534a2c171f39037cf5607480b25 | |
parent | f8c303f9c197ed9247dbc88a5bf392f1f2c65639 [diff] |
imgdiff: fix file descriptor leak mkstemp() allocates a file description that is never released. If MakePatch() is called too many time, imgdiff reaches the Operating System EMFILE (too many open files) limit. Change-Id: Icbe1399f6f6d32cfa1830f879cacf7d75bbd9fc3 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Signed-off-by: Gaelle Nassiet <gaellex.nassiet@intel.com>