On Mon, Oct 18, 2010 at 7:26 AM, Idwer Vollering <[email protected]> wrote:
> Is this a possible memory leak ? If so, it needs to be fixed in flashrom
> too.

It would only be a memory leak if used in a long running process that
doesn't use the file over and over. As it stands, the OS will reclaim
the memory used to create the file descriptor when the process ends,
and I am not sure there's much practical point in closing the file.
However academically, the file probably should be closed.

Thanks,
wt

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to