From b97a185fb191f5c6ba683169f45254226e83ab75 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 11 Aug 2008 21:35:03 +0000 Subject: [PATCH] Fix CID 859: fix minor memory leak This commit was SVN r19241. --- opal/mca/paffinity/linux/plpa/src/libplpa/plpa_map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/opal/mca/paffinity/linux/plpa/src/libplpa/plpa_map.c b/opal/mca/paffinity/linux/plpa/src/libplpa/plpa_map.c index 8328f374a8..46b1a655dd 100644 --- a/opal/mca/paffinity/linux/plpa/src/libplpa/plpa_map.c +++ b/opal/mca/paffinity/linux/plpa/src/libplpa/plpa_map.c @@ -339,6 +339,7 @@ static void load_cache(const char *sysfs_mount) num_cores[i] = count; } } + free(cores_on_sockets); /* Now go through and build the map in the other direction: (socket,core) => processor_id. This map simply points to