diff options
author | Debian Bacula Team <pkg-bacula-devel@lists.alioth.debian.org> | 2024-01-08 10:40:21 +0100 |
---|---|---|
committer | Carsten Leonhardt <leo@debian.org> | 2024-01-08 10:40:21 +0100 |
commit | 8314ec56d6b614e2666de5da4fb8fba3da02f21f (patch) | |
tree | b3a974e20e0bdb2481bfd9ac0abbc3edb130dcf0 | |
parent | 04115f9f67a1ae199e456d4303a7679c172a3fdc (diff) |
fix-memory-leak
commit 4d2ca760bb6fa13aeac2234d5d36525f3c34bfe6
Author: Robert Nelson <robertn@the-nelsons.org>
Date: Wed May 30 01:31:32 2007 +0000
Fix memory leak - Thanks to tcawley
Gbp-Pq: Name 009-fix-memory-leak
-rw-r--r-- | mtxl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1288,6 +1288,8 @@ ElementStatus_T *ReadElementStatus(DEVICE_TYPE MediumChangerFD, RequestSense_T * DataBuffer, ElementStatus, mode_sense, NULL); ElementStatus->StorageElementCount += ElementStatus->ImportExportCount; + + free(DataBuffer); } /* ----------------- DRIVES ---------------------- */ |