Auto merged

2004/10/11 16:21:37+01:00 flatcap.org!ntfs
fix memleak on error path

(Logical change 1.601)
edge.strict_endians
flatcap.org!ntfs 2004-10-11 15:25:18 +00:00
parent 0565e56f8f
commit b0d1673503
1 changed files with 1 additions and 0 deletions

View File

@ -592,6 +592,7 @@ ntfs_volume *ntfs_device_mount(struct ntfs_device *dev, unsigned long rwflag)
vol = ntfs_volume_startup(dev, rwflag);
if (!vol) {
Dperror("Failed to startup volume");
ntfs_device_free (dev);
return NULL;
}