Thread (24 messages) 24 messages, 3 authors, 2011-11-02
STALE5343d

[PATCH 13/19] IncrementalScan(): Fix memory leak

From: <hidden>
Date: 2011-11-01 15:09:29
Subsystem: the rest · Maintainer: Linus Torvalds

From: Jes Sorensen <redacted>

Signed-off-by: Jes Sorensen <redacted>
---
 Incremental.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Incremental.c b/Incremental.c
index bc5e9d0..c2c9051 100644
--- a/Incremental.c
+++ b/Incremental.c
@@ -1329,6 +1329,7 @@ int IncrementalScan(int verbose)
 					strerror(errno));
 				rv = 1;
 			}
+			sysfs_free(sra);
 		}
 	}
 	return rv;
-- 
1.7.6.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help