libglnx porting: delete temp files on failure of file creation

We noticed the temp files being left over in ostree when (mistakenly)
trying to create refs with names in use by folders. This fix removes
temp files created by glnx_file_replace_contents_at on failure.

Closes: #348
Approved by: cgwalters
This commit is contained in:
Yu Qi Zhang authored and Atomic Bot committed 2016-06-16 19:18:47 +00:00
1 parent ab47a8a030
commit 30c34b2f55
1 file changed
+1 -1
+1 -1
Submodule libglnx updated: afe3c3a861...a6d08657aa.