branch update for HEAD-2003021201
[reactos.git] / drivers / fs / fs_rec / ntfs.c
index 01b6190..e938cd4 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  ReactOS kernel
- *  Copyright (C) 2002 ReactOS Team
+ *  Copyright (C) 2002,2003 ReactOS Team
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
- * FILE:             services/fs/fs_rec/ntfs.c
+ * FILE:             drivers/fs/fs_rec/ntfs.c
  * PURPOSE:          Filesystem recognizer driver
  * PROGRAMMER:       Eric Kohl
  */
@@ -74,6 +74,7 @@ FsRecIsNtfsVolume(IN PDEVICE_OBJECT DeviceObject)
   if (!NT_SUCCESS(Status))
     {
       DPRINT("FsRecReadSectors() failed (Status %lx)\n", Status);
+      ExFreePool(Buffer);
       return(Status);
     }