blob: 2f51b5079d41af96509ba4fa64d1b6b41afaf9c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
commit 4d2ca760bb6fa13aeac2234d5d36525f3c34bfe6
Author: Robert Nelson <robertn@the-nelsons.org>
Date: Wed May 30 01:31:32 2007 +0000
Fix memory leak - Thanks to tcawley
--- a/mtxl.c
+++ b/mtxl.c
@@ -1288,6 +1288,8 @@
DataBuffer, ElementStatus, mode_sense, NULL);
ElementStatus->StorageElementCount += ElementStatus->ImportExportCount;
+
+ free(DataBuffer);
}
/* ----------------- DRIVES ---------------------- */
|