Hi Sebastian, [...] > > if (err) { > > - addr = err; > > - goto out_file; > > + fput(*file); > I'll try to avoid calling fput() here and instead handle it where the > file is created. This will simplify tracking the file's lifecycle. > Yup, you are right, I should do that instead.
Best Regards, Krzysztof