[systemd-devel] [PATCH 6/6] readahead-collect: typo, free the correct pointer

harald at redhat.com harald at redhat.com
Fri Sep 24 03:06:04 PDT 2010


From: Harald Hoyer <harald at redhat.com>

---
 src/readahead-collect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/readahead-collect.c b/src/readahead-collect.c
index f7f0f14..9fb4771 100644
--- a/src/readahead-collect.c
+++ b/src/readahead-collect.c
@@ -434,7 +434,7 @@ finish:
         free(pack_fn);
 
         while ((p = hashmap_steal_first_key(files)))
-                free(q);
+                free(p);
 
         hashmap_free(files);
 
-- 
1.7.3



More information about the systemd-devel mailing list