OSDN Git Service

textfile: fix missing call to munmap in wite_key
authorVishal Agarwal <vishal.agarwal@stericsson.com>
Thu, 10 May 2012 13:43:47 +0000 (19:13 +0530)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 May 2012 08:13:13 +0000 (11:13 +0300)
commit96965948de16da000b29fcdc31c5af270b69bd1a
treee01861c6efd4d7aafce55445feebea35e55877cc
parent6e6e6af1406a6659e40f42aee4379df565761fa9
textfile: fix missing call to munmap in wite_key

In some cases it was possible that munmap is not called corresponding
to mmap, which might result in future read or writes to fail.
src/textfile.c