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
parent
0565e56f8f
commit
b0d1673503
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue