]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
Fix for memory and resource leak.
authorArtur Wojcik <artur.wojcik@intel.com>
Thu, 10 Dec 2009 19:03:39 +0000 (12:03 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 10 Dec 2009 19:03:39 +0000 (12:03 -0700)
commit20cbe8d2bad9277605b6e51886929a0c00518d37
tree678aca5b6fa0ff47c9deb772b5ce92988e77773f
parent0fbd635caa86a027dbe88c4739dc00a27e29135e
Fix for memory and resource leak.

Make sure opened file descriptor is cleaned up on exit
path. Also make sure allocated memory for 'sra' is released
on exit path, too.

Signed-off-by: Artur Wojcik <artur.wojcik@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c