IncrementalScan(): Fix memory leak

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
Jes Sorensen 2011-11-01 16:09:29 +01:00 committed by NeilBrown
parent 093d918759
commit b1efa6c25c
1 changed files with 1 additions and 0 deletions

View File

@ -1329,6 +1329,7 @@ int IncrementalScan(int verbose)
strerror(errno));
rv = 1;
}
sysfs_free(sra);
}
}
return rv;